Configurable branding pt. 2

This commit is contained in:
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

View file

@ -14,7 +14,8 @@ const config = {
authTimeout: 3000,
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) {