diff options
author | xengineering <me@xengineering.eu> | 2023-02-11 13:02:41 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-02-11 13:02:41 +0100 |
commit | 7e517ada827abc2658bb07347bc656c10860e091 (patch) | |
tree | 2e7274381f5fe9b351407868efb36232e6a95b1d /main.go | |
parent | 8e166f100697c5a497aa68349c20a6cb88b5503f (diff) | |
download | ceres-7e517ada827abc2658bb07347bc656c10860e091.tar ceres-7e517ada827abc2658bb07347bc656c10860e091.tar.zst ceres-7e517ada827abc2658bb07347bc656c10860e091.zip |
Switch webserver to global config struct
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |