From 10f14a7130276b7ae895eaa569d3c69d6d9cd367 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 15 May 2024 18:45:31 +0200 Subject: refactor: default to development Environment outside nix module --- internal/config/config.go | 1 + 1 file changed, 1 insertion(+) 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'"}, }, -- cgit 1.4.1