✨ Make new frontend available under /modern

👷 Start adding deploy config and CI
This commit is contained in:
nikolark committed 2021-12-05 00:45:36 +01:00
1 parent bc4414473c
commit dbda43077e
8 files changed
+49 -5

No files matched your search

+3
View File
@@ -1,5 +1,6 @@
from django.conf.urls import url
from django.contrib.staticfiles.views import serve
from django.urls import path
from main.api.views import ProductViewSet
from main.views.stats import (
@@ -29,6 +30,8 @@ urlpatterns = [
url(r"^inventory/$", inventory, name="inventory"),
url(r"^inventory/add/$", inventory_add, name="inventory-add"),
url(r"^report$", report, name="report"),
# FIXME: Serve the modern stack from here until rest of views are ported
url(r"^modern/", serve, kwargs={"path": "modern/index.html"}, name="modern"),
]
# Stats
urlpatterns += [