Fix api creation on reload
This commit is contained in:
4 files changed
+8
-21
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ const init = async () => {
|
||||
userOnDisk.Name,
|
||||
userOnDisk.Password,
|
||||
);
|
||||
createApi(defaultServerInfo.address, auth.AccessToken);
|
||||
createApi(defaultServerInfo.address, auth.data.AccessToken);
|
||||
setInitialRoute("/home");
|
||||
// window.startingRoute("/home");
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user