mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-01 16:31:25 +03:00
Settings reverse proxy (doesn't work)
This commit is contained in:
@@ -2,7 +2,6 @@ require('dotenv').config();
|
||||
const fs = require('fs-extra');
|
||||
const { spawnSync } = require('child_process');
|
||||
|
||||
|
||||
const providers = ['mysql', 'postgresql', 'sqlite'];
|
||||
const provider = process.env.DB_PROVIDER;
|
||||
|
||||
|
@@ -2,16 +2,16 @@ const { randomBytes } = require('crypto');
|
||||
const fs = require('fs');
|
||||
|
||||
const env = {
|
||||
API_BIND: 8080,
|
||||
API_EXTERNAL: 'http://localhost:8080',
|
||||
DB_CONNECTION_URL: '',
|
||||
DB_PROVIDER: '', // don't default to sqlite, postinstall checks if empty
|
||||
DISCORD_SECRET: '',
|
||||
DISCORD_TOKEN: '',
|
||||
ENCRYPTION_KEY: randomBytes(24).toString('hex'),
|
||||
HTTP_BIND: 8080,
|
||||
HTTP_EXTERNAL: 'http://localhost',
|
||||
PORTAL: '',
|
||||
PUBLIC_BOT: false,
|
||||
SETTINGS_BIND: 80,
|
||||
SETTINGS_BIND: 8888,
|
||||
SUPER: '319467558166069248',
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user