From baf722a95eba786161c96f95da176ef0d8881ba8 Mon Sep 17 00:00:00 2001 From: Martin Geno Date: Thu, 22 Sep 2016 18:07:02 +0200 Subject: [PATCH] remove api test --- .gitignore | 1 + cmd/warehost/main.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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")