Skip to content

Commit

Permalink
Fix bug in 'Organize codebase files into folders' change, making new …
Browse files Browse the repository at this point in the history
…config options not mandatory because the fallback/default values are suitable for production
  • Loading branch information
alexsapps committed Apr 7, 2024
1 parent 202d9e1 commit 40f0724
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/src/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 40f0724

Please sign in to comment.