index html only on real routes otherwise redirect + better logging

This commit is contained in:
2022-11-07 17:24:36 +01:00
parent 5f6df46d60
commit 1452c0c143
7 changed files with 83 additions and 49 deletions
+1
View File
@@ -20,6 +20,7 @@
"cookie-parser": "^1.4.6",
"express": "^4.18.2",
"katex": "^0.16.3",
"morgan": "^1.10.0",
"preact": "^10.11.2",
"preact-render-to-string": "^5.2.6",
"preact-router": "^4.1.0",