fix: serve canonical status index directly

This commit is contained in:
2026-07-30 23:15:40 +08:00
parent fe1442c2f2
commit 9cb1daea1a
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ class ProjectScaffoldTests(unittest.TestCase):
).read_text(encoding="utf-8")
self.assertIn("location = /quant-os/status/ {", config)
self.assertIn(
"alias /srv/www/quant-os/status/index.html;",
"rewrite ^ /quant-os/status/index.html break;",
config,
)
self.assertIn("location ^~ /quant-os/status/", config)