fix: ws prefix url in electron (#1896)

This commit is contained in:
Peng Xiao authored and GitHub committed 2023-04-12 14:11:47 +00:00
1 parent 25d7f7c848
commit 95aa86cdf0
17 files changed
+237 -261

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
import { prefixUrl } from '@affine/env';
import { currentAffineUserAtom } from '@affine/workspace/affine/atom';
import {
clearLoginStorage,
@@ -24,7 +25,7 @@ import { PageDetailEditor } from '../../components/page-detail-editor';
import { useAffineRefreshAuthToken } from '../../hooks/affine/use-affine-refresh-auth-token';
import { AffineSWRConfigProvider } from '../../providers/AffineSWRConfigProvider';
import { BlockSuiteWorkspace } from '../../shared';
import { affineApis, prefixUrl } from '../../shared/apis';
import { affineApis } from '../../shared/apis';
import { initPage, toast } from '../../utils';
import type { WorkspacePlugin } from '..';
import { QueryKey } from './fetcher';