mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-01 09:30:01 +08:00
fix: logout jump to 404
This commit is contained in:
@@ -428,7 +428,7 @@ export class AffineProvider extends BaseProvider {
|
||||
token.clear();
|
||||
this._channel?.disconnect();
|
||||
this._wsMap.forEach(ws => ws.disconnect());
|
||||
this._workspaces.clear();
|
||||
this._workspaces.clear(false);
|
||||
storage.removeItem('token');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user