sum7/warehost
sum7
/
warehost
Archived
1
0
Fork 0

remove api test

This commit is contained in:
Martin Geno 2016-09-22 18:07:02 +02:00
parent 6be3652505
commit baf722a95e
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
webroot
/web_webroot
cmd/warehost/warehost
cmd/warehost-web/warehost-web

View File

@ -67,7 +67,7 @@ func main() {
modules = append(modules, modulname)
}
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)
modulhost.SyncModels(dbmodulconnection)
modulhost.NewAPI(config, sessions, dbmodulconnection, router, "/host")