Enable SPA on backend (fix 404 accessing other than root)

This commit is contained in:
2026-05-30 05:03:24 +00:00
parent 14b76520a6
commit 28c50cab0b
+3 -1
View File
@@ -51,7 +51,9 @@ _POPEN_KWARGS: dict = (
)
# 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 = Supervisor()