summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.net>2025-09-09 23:38:41 +0100
committerLeonardo Bishop <me@leonardobishop.net>2025-09-09 23:38:41 +0100
commit186a9e267815e7caa62391fdc7b8cbd842922610 (patch)
tree325651b43712c0a31dc24ac15a03bfcf78b097ec /main.go
parente7c7e2aa77fa9b90ef6a114f43510e6bdc3bec76 (diff)
Pass config to api and fix bad join
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index 556fd35..4250a24 100644
--- a/main.go
+++ b/main.go
@@ -43,6 +43,8 @@ func run() error {
api := api.NewServer(api.ApiServices{
EntiresService: entriesService,
HtmlService: htmlService,
+
+ Config: c,
})
slog.Info("starting HTTP server", "host", c.Server.Host, "port", c.Server.Port)