Configurable branding pt. 2

pull/1/head
Clara K 2023-11-01 12:35:34 +01:00 committed by GitHub
parent 616a174dd7
commit 4becfb7d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ const config = {
authTimeout: 3000, authTimeout: 3000,
refreshIntervalSeconds: process.env.IMAP_REFRESH_INTERVAL_SECONDS refreshIntervalSeconds: process.env.IMAP_REFRESH_INTERVAL_SECONDS
}, },
http: {port: normalizePort(process.env.PORT || '3000')} http: {port: normalizePort(process.env.PORT || '3000')},
branding: process.env.BRANDING || ["PROJECT_NAME", "YOUR_NAME", "YOUR_WEBSITE"]
} }
if (!config.imap.user || !config.imap.password || !config.imap.host) { if (!config.imap.user || !config.imap.password || !config.imap.host) {