mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
change(rewrite)!: Rename SECRET
to SECURITY_SECRET
for consistency
This commit is contained in:
parent
6748ac1a53
commit
93f0d5065f
@ -21,4 +21,5 @@ HTTP_BASE_URL=http://localhost:4000
|
||||
# HTTP_HOST=0.0.0.0
|
||||
# HTTP_PORT=4000
|
||||
|
||||
SECRET=changeme
|
||||
# -- Do change this variable, lest you wish to anger the computer.
|
||||
SECURITY_SECRET=changeme
|
@ -87,7 +87,7 @@ export function loadConfigFromEnv(): Config {
|
||||
port: envVarOrDefault("HTTP_PORT", parseInteger, 4000),
|
||||
},
|
||||
security: {
|
||||
secret: envVarNotNull("SECRET", identity),
|
||||
secret: envVarNotNull("SECURITY_SECRET", identity),
|
||||
},
|
||||
localeDataPath: envVarOrDefault(
|
||||
"LOCALE_DATA_PATH",
|
||||
|
Loading…
x
Reference in New Issue
Block a user