瀏覽代碼

comment register

huangrf 6 年之前
父節點
當前提交
42129dd69f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      engine/apiengine.go

+ 2 - 2
engine/apiengine.go

@@ -132,8 +132,8 @@ func (g *ApiEngine) Run() {
 		}
 	}
 	g.LoadBusinessOrm()
-	g.GinEngine.StaticFile("/", "web/index.html")
-	g.GinEngine.Static("/static", "web/static")
+	//g.GinEngine.StaticFile("/", "web/index.html")
+	//g.GinEngine.Static("/static", "web/static")
 
 	if config.AppConfig.EnableLdapServer {
 		ldap := auth.NewLdapAuth(g)