Browse Source

comment register

huangrf 6 years ago
parent
commit
42129dd69f
1 changed files with 2 additions and 2 deletions
  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)