refactor: update static resource registration to use dashboard path instead of web
This commit is contained in:
@@ -68,8 +68,8 @@ func NewServer() (*iris.Application, error) {
|
|||||||
ShowList: false,
|
ShowList: false,
|
||||||
})
|
})
|
||||||
|
|
||||||
// 注册web静态资源服务
|
// 注册dashboard静态资源服务
|
||||||
app.HandleDir("/", iris.Dir("web/out"), iris.DirOptions{
|
app.HandleDir("/dashboard", iris.Dir("dashboard/out"), iris.DirOptions{
|
||||||
IndexName: "index.html",
|
IndexName: "index.html",
|
||||||
Compress: true,
|
Compress: true,
|
||||||
ShowList: false,
|
ShowList: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user