From 3209e40a983230c806d827dd61e4ceb9c75f9c33 Mon Sep 17 00:00:00 2001 From: mlogclub Date: Wed, 15 Apr 2026 17:32:42 +0800 Subject: [PATCH] refactor: update static resource registration to use dashboard path instead of web --- internal/bootstrap/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/bootstrap/server.go b/internal/bootstrap/server.go index bf6006f..fb93bc8 100644 --- a/internal/bootstrap/server.go +++ b/internal/bootstrap/server.go @@ -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,