about summary refs log tree commit diff stats
path: root/internal/server/server.go
diff options
context:
space:
mode:
authorAlan Pearce2024-06-27 13:34:21 +0200
committerAlan Pearce2024-06-27 13:34:21 +0200
commit879cc25421c66a959ab801f0937b4264a461fc7e (patch)
tree29141c22ef84cfc36ba74302b14546c21dbef199 /internal/server/server.go
parentd07ec650aafcfe4692bba8f481bc3cb8204cd4b0 (diff)
downloadwebsite-879cc25421c66a959ab801f0937b4264a461fc7e.tar.lz
website-879cc25421c66a959ab801f0937b4264a461fc7e.tar.zst
website-879cc25421c66a959ab801f0937b4264a461fc7e.zip
use pointer to config in builder & templates
Diffstat (limited to 'internal/server/server.go')
-rw-r--r--internal/server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/server.go b/internal/server/server.go
index 00cc022..469485f 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -108,7 +108,7 @@ func serverHeaderHandler(wrappedHandler http.Handler) http.Handler {
 }
 
 func rebuild(builderConfig builder.IOConfig, config *cfg.Config) error {
-	r, err := builder.BuildSite(builderConfig)
+	r, err := builder.BuildSite(builderConfig, config)
 	if err != nil {
 		return errors.WithMessage(err, "could not build site")
 	}