style(modules/web): lint code with eslint

This commit is contained in:
Xwite committed 2024-10-03 10:16:25 +08:00
1 parent 6578660b26
commit 8b7e33a32e
16 files changed
+195 -196

No files matched your search

+4 -1
View File
@@ -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,
});