fix: add static route for / → wwwroot/ to serve .html files

This commit is contained in:
yumoqing 2026-08-11 17:38:19 +08:00
parent 44b8ceca3d
commit dd8a1c3d3e

View File

@ -38,7 +38,8 @@
"indexes": ["index.ui", "index.html"], "indexes": ["index.ui", "index.html"],
"statics": [ "statics": [
["/bricks/", "/d/pccs/wwwroot/bricks/"], ["/bricks/", "/d/pccs/wwwroot/bricks/"],
["/imgs/", "/d/pccs/wwwroot/imgs/"] ["/imgs/", "/d/pccs/wwwroot/imgs/"],
["/", "/d/pccs/wwwroot/"]
] ]
} }
} }