From 186a9e267815e7caa62391fdc7b8cbd842922610 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Tue, 9 Sep 2025 23:38:41 +0100 Subject: Pass config to api and fix bad join --- main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.go') 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) -- cgit v1.2.3-70-g09d2