summaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-04-12 18:50:34 +0200
committerxengineering <me@xengineering.eu>2023-04-12 18:50:34 +0200
commit4eacd5f54074c6cd73eaef4178c56843ce742445 (patch)
tree66fb1929c84310e27c21d4fc7e21f830849191af /server.go
parentba971b29db4579db8e95d920d6c035d621fe2531 (diff)
downloadceres-4eacd5f54074c6cd73eaef4178c56843ce742445.tar
ceres-4eacd5f54074c6cd73eaef4178c56843ce742445.tar.zst
ceres-4eacd5f54074c6cd73eaef4178c56843ce742445.zip
Switch to unnested config
This is now just not needed.
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index 4a685f2..891a7b9 100644
--- a/server.go
+++ b/server.go
@@ -19,7 +19,7 @@ func setupRoutes() {
func runServer() {
setupRoutes()
- address := config.Http.Host + ":" + config.Http.Port
+ address := config.Host + ":" + config.Port
log.Println("Serving content at 'http://" + address + "'.")
log.Fatal(http.ListenAndServe(address, nil))
}