修复自定义css、js无效的问题

This commit is contained in:
Sun 2024-01-17 19:36:04 +08:00
parent e775aad5a4
commit a447a0470b

View File

@ -26,6 +26,7 @@ func InitRouters(addr string) error {
webPath := "./web"
router.StaticFile("/", webPath+"/index.html")
router.Static("/assets", webPath+"/assets")
router.Static("/custom", webPath+"/custom")
router.StaticFile("/favicon.ico", webPath+"/favicon.ico")
router.StaticFile("/favicon.svg", webPath+"/favicon.svg")
}