Enable SPA on backend (fix 404 accessing other than root)
This commit is contained in:
+3
-1
@@ -51,7 +51,9 @@ _POPEN_KWARGS: dict = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Vue Frontend static files
|
# Vue Frontend static files
|
||||||
frontend = Frontend(Path(__file__).with_name("frontend-build"), cached=["/assets/"])
|
frontend = Frontend(
|
||||||
|
Path(__file__).with_name("frontend-build"), cached=["/assets/"], spa=True
|
||||||
|
)
|
||||||
|
|
||||||
# Supervisor manages all root contexts
|
# Supervisor manages all root contexts
|
||||||
supervisor = Supervisor()
|
supervisor = Supervisor()
|
||||||
|
|||||||
Reference in New Issue
Block a user