fix(modules/web): fix legado remoteURl parse
This commit is contained in:
1 parent
5269ee295b
commit
e33bd350ab
3 files changed
+54
-19
No files matched your search
@@ -5,7 +5,7 @@ const SECOND = 1000;
|
||||
const ajax = axios.create({
|
||||
baseURL:
|
||||
import.meta.env.VITE_API ||
|
||||
localStorage.getItem("remoteIp") ||
|
||||
localStorage.getItem("remoteOrigin") ||
|
||||
location.origin,
|
||||
timeout: 120 * SECOND,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user