remove api test
This commit is contained in:
parent
6be3652505
commit
baf722a95e
|
@ -1,3 +1,4 @@
|
||||||
|
webroot
|
||||||
/web_webroot
|
/web_webroot
|
||||||
cmd/warehost/warehost
|
cmd/warehost/warehost
|
||||||
cmd/warehost-web/warehost-web
|
cmd/warehost-web/warehost-web
|
||||||
|
|
|
@ -67,7 +67,7 @@ func main() {
|
||||||
modules = append(modules, modulname)
|
modules = append(modules, modulname)
|
||||||
}
|
}
|
||||||
modulname = "host"
|
modulname = "host"
|
||||||
if modul := config.Modules[modulname]; MODULWEB && modul != nil && modul.Enabled {
|
if modul := config.Modules[modulname]; MODULHOST && modul != nil && modul.Enabled {
|
||||||
dbmodulconnection := modulconnection(dbconnection, modul, modulname)
|
dbmodulconnection := modulconnection(dbconnection, modul, modulname)
|
||||||
modulhost.SyncModels(dbmodulconnection)
|
modulhost.SyncModels(dbmodulconnection)
|
||||||
modulhost.NewAPI(config, sessions, dbmodulconnection, router, "/host")
|
modulhost.NewAPI(config, sessions, dbmodulconnection, router, "/host")
|
||||||
|
|
Reference in New Issue