From 7e517ada827abc2658bb07347bc656c10860e091 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 11 Feb 2023 13:02:41 +0100 Subject: Switch webserver to global config struct --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index cd32eb0..0473231 100644 --- a/main.go +++ b/main.go @@ -11,5 +11,5 @@ func main() { config = GetRuntimeConfig() log.Printf("Starting ceres with config file '%s'\n", config.Path) db := InitDatabase() - runServer(config.Http, &db) + runServer(&db) } -- cgit v1.2.3-70-g09d2