feat: add DISABLE_FAVICON feature flag
This commit is contained in:
@@ -89,6 +89,7 @@ const appConfig = {
|
||||
sentryDsn: process.env.SENTRY_DSN,
|
||||
CI: process.env.CI === 'true',
|
||||
disableNotificationsPage: process.env.DISABLE_NOTIFICATIONS_PAGE === 'true',
|
||||
disableFavicon: process.env.DISABLE_FAVICON === 'true',
|
||||
};
|
||||
|
||||
if (!appConfig.encryptionKey) {
|
||||
|
@@ -4,6 +4,7 @@ import Config from '../../models/config.js';
|
||||
|
||||
const defaultConfig = {
|
||||
disableNotificationsPage: appConfig.disableNotificationsPage,
|
||||
disableFavicon: appConfig.disableFavicon,
|
||||
};
|
||||
|
||||
const getConfig = async (_parent, params) => {
|
||||
|
Reference in New Issue
Block a user