diff --git a/.gitignore b/.gitignore index 77f92d9..50feaf7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +webroot /web_webroot cmd/warehost/warehost cmd/warehost-web/warehost-web diff --git a/cmd/warehost/main.go b/cmd/warehost/main.go index 6a8be6d..992351c 100644 --- a/cmd/warehost/main.go +++ b/cmd/warehost/main.go @@ -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")