mirror of
https://github.com/laurent22/joplin.git
synced 2025-04-01 21:24:45 +02:00
Server: Set default of env SUPPORT_EMAIL to "SUPPORT_EMAIL" to make it clear it needs to be set
This commit is contained in:
parent
7245aead39
commit
92520e58fb
@ -138,7 +138,7 @@ export async function initConfig(envType: Env, env: EnvVariables, overrides: any
|
||||
const viewDir = `${rootDir}/src/views`;
|
||||
const appPort = env.APP_PORT ? Number(env.APP_PORT) : 22300;
|
||||
const baseUrl = baseUrlFromEnv(env, appPort);
|
||||
const supportEmail = env.SUPPORT_EMAIL || 'admin@localhost';
|
||||
const supportEmail = env.SUPPORT_EMAIL || 'SUPPORT_EMAIL'; // Defaults to "SUPPORT_EMAIL" so that server admin knows they have to set it.
|
||||
|
||||
config_ = {
|
||||
appVersion: packageJson.version,
|
||||
|
Loading…
x
Reference in New Issue
Block a user