about summary refs log tree commit diff stats
path: root/internal/config
diff options
context:
space:
mode:
authorAlan Pearce2024-05-15 18:45:31 +0200
committerAlan Pearce2024-05-15 18:45:31 +0200
commit10f14a7130276b7ae895eaa569d3c69d6d9cd367 (patch)
tree8cf6c1881758aa775f86c6488566f0407b02e61f /internal/config
parent2d5ee7b69cbe27e7e1abef7bf3451cb6455c4387 (diff)
downloadsearchix-10f14a7130276b7ae895eaa569d3c69d6d9cd367.tar.lz
searchix-10f14a7130276b7ae895eaa569d3c69d6d9cd367.tar.zst
searchix-10f14a7130276b7ae895eaa569d3c69d6d9cd367.zip
refactor: default to development Environment outside nix module
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 3cf8c5c..490d1d5 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -93,6 +93,7 @@ var defaultConfig = Config{
 		ListenAddress: "localhost",
 		Port:          3000,
 		BaseURL:       mustURL("http://localhost:3000"),
+		Environment:   "development",
 		ContentSecurityPolicy: CSP{
 			DefaultSrc: []string{"'self'"},
 		},