fix: disable sqlite provider (#2888)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
Peng Xiao
2023-06-28 15:01:15 +08:00
committed by GitHub
parent fd0aa4a2ee
commit 79b3b1dabc
14 changed files with 145 additions and 119 deletions

View File

@@ -173,7 +173,7 @@ export const createLocalProviders = (): DocProviderCreator[] => {
providers.push(createBroadcastChannelProvider);
}
if (environment.isDesktop) {
if (environment.isDesktop && config.enableSQLiteProvider) {
providers.push(createSQLiteProvider, createSQLiteDBDownloadProvider);
}