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

This commit is contained in:
Peng Xiao
2023-04-13 23:14:46 +08:00
committed by GitHub
parent 934e242116
commit 42756045bb
7 changed files with 27 additions and 32 deletions

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,