From 45b05f06b349edb14474fd9683a34ffa5aab29c0 Mon Sep 17 00:00:00 2001 From: Yii Date: Wed, 16 Jul 2025 12:16:03 +0800 Subject: [PATCH] fix(core): demo workspace (#13234) do not show demo workspace before config fetched for selfhost instances fixes https://github.com/toeverything/AFFiNE/issues/13219 ## Summary by CodeRabbit * **Refactor** * Updated the list of available features for self-hosted server configurations. No visible changes to exported interfaces or public APIs. --- packages/frontend/core/src/modules/cloud/constant.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/core/src/modules/cloud/constant.ts b/packages/frontend/core/src/modules/cloud/constant.ts index 36bc3cd5b3..c1438da191 100644 --- a/packages/frontend/core/src/modules/cloud/constant.ts +++ b/packages/frontend/core/src/modules/cloud/constant.ts @@ -17,7 +17,7 @@ export const BUILD_IN_SERVERS: (ServerMetadata & { config: ServerConfig })[] = // since we never build desktop app in selfhosted mode, so it's fine config: { serverName: 'Affine Selfhost', - features: [ServerFeature.LocalWorkspace], + features: [], oauthProviders: [], type: ServerDeploymentType.Selfhosted, credentialsRequirement: {