feat(nbstore): allow polling protocol (#11160)

This commit is contained in:
EYHN
2025-03-25 08:15:22 +00:00
parent 583bbf3463
commit dda3103d1b
5 changed files with 27 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
import { ServerDeploymentType } from '@affine/graphql';
import {
IndexedDBDocStorage,
IndexedDBDocSyncStorage,
@@ -64,6 +65,9 @@ export class UserDBEngine extends Entity<{
id: this.userId,
serverBaseUrl: serverService.server.baseUrl,
type: 'userspace',
isSelfHosted:
serverService.server.config$.value.type ===
ServerDeploymentType.Selfhosted,
},
},
},