mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 09:06:19 +08:00
feat: sync with keck
This commit is contained in:
@@ -33,13 +33,15 @@ async function _getCurrentToken() {
|
||||
if (user) resolve(user.getIdToken());
|
||||
});
|
||||
});
|
||||
} else if (process.env['NX_KECK']) {
|
||||
return 'AFFiNE';
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const _enabled = {
|
||||
demo: [],
|
||||
AFFiNE: process.env['NX_KECK'] ? ['idb'] : ['idb', 'ws'],
|
||||
AFFiNE: process.env['NX_KECK'] ? ['idb', 'ws'] : ['idb'],
|
||||
} as any;
|
||||
|
||||
async function _getBlockDatabase(
|
||||
|
||||
Reference in New Issue
Block a user