fix: settings

This commit is contained in:
Isaac
2023-02-02 16:11:10 +00:00
parent 5a2106caa4
commit 12c741b255
5 changed files with 43 additions and 21 deletions

View File

@@ -13,11 +13,13 @@ const env = {
DISCORD_SECRET: '',
DISCORD_TOKEN: '',
ENCRYPTION_KEY: randomBytes(24).toString('hex'),
// HOST_HEADER: 'x-forwarded-host',
HTTP_EXTERNAL: 'http://127.0.0.1:8080',
HTTP_HOST: '127.0.0.1',
HTTP_PORT: 8080,
HTTP_TRUST_PROXY: false,
OVERRIDE_ARCHIVE: '',
// PROTOCOL_HEADER: 'x-forwarded-proto',
PUBLIC_BOT: false,
SETTINGS_HOST: '127.0.0.1',
SETTINGS_PORT: 8169,