mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 19:16:29 +08:00
chore: cleanup legacy logic (#15072)
This commit is contained in:
@@ -37,13 +37,7 @@ type ConfigGroup<T extends AppConfigModule> = {
|
||||
const IGNORED_MODULES: (keyof AppConfig)[] = [];
|
||||
|
||||
if (environment.isSelfHosted) {
|
||||
IGNORED_MODULES.push(
|
||||
'payment',
|
||||
'customerIo',
|
||||
'captcha',
|
||||
'telemetry',
|
||||
'metrics'
|
||||
);
|
||||
IGNORED_MODULES.push('payment', 'captcha', 'telemetry', 'metrics');
|
||||
}
|
||||
|
||||
const ALL_CONFIGURABLE_MODULES = Object.keys(CONFIG_DESCRIPTORS).filter(
|
||||
|
||||
Reference in New Issue
Block a user