huangrf 6 rokov pred
rodič
commit
42129dd69f
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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)