fix: failed to load blobs in electron (#1927)

This commit is contained in:
Peng Xiao authored and GitHub committed 2023-04-13 15:14:46 +00:00
1 parent 934e242116
commit 42756045bb
7 files changed
+27 -32

No files matched your search

+4 -1
View File
@@ -52,7 +52,10 @@ const getPersistenceAllWorkspace = () => {
item.id,
(k: string) =>
// fixme: token could be expired
({ api: '/api/workspace', token: getLoginStorage()?.token }[k])
({
api: prefixUrl + 'api/workspace',
token: getLoginStorage()?.token,
}[k])
);
const affineWorkspace: AffineWorkspace = {
...item,