fix: failed to load blobs in electron (#1927)
This commit is contained in:
1 parent
934e242116
commit
42756045bb
7 files changed
+27
-32
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user