all repos — searchix @ 10f14a7130276b7ae895eaa569d3c69d6d9cd367

Search engine for NixOS, nix-darwin, home-manager and NUR users

refactor: default to development Environment outside nix module
Alan Pearce alan@alanpearce.eu
Wed, 15 May 2024 18:45:31 +0200
commit

10f14a7130276b7ae895eaa569d3c69d6d9cd367

parent

2d5ee7b69cbe27e7e1abef7bf3451cb6455c4387

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M internal/config/config.gointernal/config/config.go
@@ -93,6 +93,7 @@ Web: &Web{ 		ListenAddress: "localhost",
 		Port:          3000,
 		BaseURL:       mustURL("http://localhost:3000"),
+		Environment:   "development",
 		ContentSecurityPolicy: CSP{
 			DefaultSrc: []string{"'self'"},
 		},