From 40f07248abb3c3fbb45bfab4558b51e5ca7e030d Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Sun, 7 Apr 2024 17:13:25 +0000 Subject: [PATCH] Fix bug in 'Organize codebase files into folders' change, making new config options not mandatory because the fallback/default values are suitable for production --- server/src/config/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/config/config.go b/server/src/config/config.go index 2eee3e2..7cfd849 100644 --- a/server/src/config/config.go +++ b/server/src/config/config.go @@ -25,9 +25,9 @@ var ( CookieSecret = mustGetenv("COOKIE_SECRET", "some-fake-secret", true) CsrfAuthKey = mustGetenv("CSRF_AUTH_KEY", "", true) - TemplatesDirectory = mustGetenv("TEMPLATES_DIRECTORY", "./templates", true) - StaticDirectory = mustGetenv("STATIC_DIRECTORY", "./static", true) - DistDirectory = mustGetenv("DIST_DIRECTORY", "./dist", true) + TemplatesDirectory = mustGetenv("TEMPLATES_DIRECTORY", "./templates", false) + StaticDirectory = mustGetenv("STATIC_DIRECTORY", "./static", false) + DistDirectory = mustGetenv("DIST_DIRECTORY", "./dist", false) // Path to Google API oauth client_secrets.json file, with // access to the following scope: