refactor: update static resource registration to use dashboard path instead of web

This commit is contained in:
mlogclub
2026-04-15 17:32:42 +08:00
parent 50edbb4da6
commit 3209e40a98
+2 -2
View File
@@ -68,8 +68,8 @@ func NewServer() (*iris.Application, error) {
ShowList: false,
})
// 注册web静态资源服务
app.HandleDir("/", iris.Dir("web/out"), iris.DirOptions{
// 注册dashboard静态资源服务
app.HandleDir("/dashboard", iris.Dir("dashboard/out"), iris.DirOptions{
IndexName: "index.html",
Compress: true,
ShowList: false,