mirror of
https://github.com/quarkcloudio/quark-go.git
synced 2025-10-05 07:56:58 +08:00
chore: 调整目录结构
This commit is contained in:
@@ -33,8 +33,8 @@ func main() {
|
||||
server := rest.MustNewServer(c.RestConf)
|
||||
defer server.Stop()
|
||||
|
||||
// 加载静态文件
|
||||
staticFile("/", "./website", server)
|
||||
// WEB根目录
|
||||
staticFile("/", "./web/app", server)
|
||||
|
||||
ctx := svc.NewServiceContext(c)
|
||||
handler.RegisterHandlers(server, ctx)
|
||||
|
Reference in New Issue
Block a user