mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 15:46:29 +08:00
fix: reload the page when login token expired (#1839)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
if (typeof window !== 'undefined') {
|
||||
window.location.search = '?prefixUrl=http://127.0.0.1:3000/';
|
||||
}
|
||||
@@ -6,7 +6,7 @@ export default function getConfig() {
|
||||
gitVersion: 'UNKNOWN',
|
||||
hash: 'UNKNOWN',
|
||||
editorVersion: 'UNKNOWN',
|
||||
serverAPI: 'http://localhost:3000/',
|
||||
serverAPI: 'http://127.0.0.1:3000/',
|
||||
enableBroadCastChannelProvider: true,
|
||||
enableIndexedDBProvider: true,
|
||||
enableDebugPage: true,
|
||||
|
||||
Reference in New Issue
Block a user