mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
chore(server): hide not configurable module (#11406)
This commit is contained in:
@@ -35,13 +35,10 @@ type ConfigGroup<T extends AppConfigModule> = {
|
||||
}>[];
|
||||
};
|
||||
const IGNORED_MODULES: (keyof AppConfig)[] = [
|
||||
'db',
|
||||
'redis',
|
||||
'graphql',
|
||||
'copilot', // not ready
|
||||
];
|
||||
|
||||
if (!environment.isSelfHosted) {
|
||||
if (environment.isSelfHosted) {
|
||||
IGNORED_MODULES.push('payment');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user