summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-02-11 13:02:41 +0100
committerxengineering <me@xengineering.eu>2023-02-11 13:02:41 +0100
commit7e517ada827abc2658bb07347bc656c10860e091 (patch)
tree2e7274381f5fe9b351407868efb36232e6a95b1d /main.go
parent8e166f100697c5a497aa68349c20a6cb88b5503f (diff)
downloadceres-7e517ada827abc2658bb07347bc656c10860e091.tar
ceres-7e517ada827abc2658bb07347bc656c10860e091.tar.zst
ceres-7e517ada827abc2658bb07347bc656c10860e091.zip
Switch webserver to global config struct
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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)
}