summaryrefslogtreecommitdiffstats
path: root/api/router.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 /api/router.go
parente7c7e2aa77fa9b90ef6a114f43510e6bdc3bec76 (diff)
Pass config to api and fix bad join
Diffstat (limited to 'api/router.go')
-rw-r--r--api/router.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/router.go b/api/router.go
index 9ea7ac0..ec7ac4d 100644
--- a/api/router.go
+++ b/api/router.go
@@ -14,7 +14,7 @@ type ApiServices struct {
EntiresService entries.Service
HtmlService html.Service
- Config config.Config
+ Config *config.Config
}
func NewServer(api ApiServices) *http.ServeMux {