mirror of
https://github.com/quarkcloudio/quark-go.git
synced 2025-10-05 07:56:58 +08:00
chore: 调整目录结构
This commit is contained in:
@@ -21,10 +21,10 @@ func main() {
|
||||
register(h)
|
||||
|
||||
// 静态文件
|
||||
h.StaticFile("/admin/", "./website/admin/index.html")
|
||||
h.StaticFile("/admin/", "./web/app/admin/index.html")
|
||||
|
||||
// 静态文件目录
|
||||
fs := &app.FS{Root: "./website", IndexNames: []string{"index.html"}}
|
||||
// WEB根目录
|
||||
fs := &app.FS{Root: "./web/app", IndexNames: []string{"index.html"}}
|
||||
h.StaticFS("/", fs)
|
||||
|
||||
// 数据库配置信息
|
||||
|
Reference in New Issue
Block a user