0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 19:12:41 +00:00

Add local_environments to configuration files

Add `local` parameter to global `config` object to avoid repeating tests
JWT key `secret` only added to global object `config` when local installation detected
This commit is contained in:
G.Ambatte
2022-03-07 14:14:32 +13:00
parent 7c2663fa56
commit 535291a91a
3 changed files with 12 additions and 6 deletions

View File

@@ -3,5 +3,6 @@
"naturalcrit_url" : "local.naturalcrit.com:8010",
"secret" : "secret",
"web_port" : 8000,
"enable_v3" : true
"enable_v3" : true,
"local_environments" : ["docker", "local"]
}