소스 검색

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)