|
@@ -132,8 +132,8 @@ func (g *ApiEngine) Run() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
g.LoadBusinessOrm()
|
|
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 {
|
|
if config.AppConfig.EnableLdapServer {
|
|
|
ldap := auth.NewLdapAuth(g)
|
|
ldap := auth.NewLdapAuth(g)
|