mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
style(modules/web): lint code with eslint
This commit is contained in:
@@ -3,7 +3,10 @@ import axios from "axios";
|
||||
const SECOND = 1000;
|
||||
|
||||
const ajax = axios.create({
|
||||
baseURL: import.meta.env.VITE_API || localStorage.getItem("remoteIp") || location.origin,
|
||||
baseURL:
|
||||
import.meta.env.VITE_API ||
|
||||
localStorage.getItem("remoteIp") ||
|
||||
location.origin,
|
||||
timeout: 120 * SECOND,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user