config(core): 更新API服务器地址配置

- 将小说下载接口地址从 http://47.236.5.114:5000/api/book/download
  更新为 http://43.159.32.210:5000/api/book/download
- 将默认API基础地址从 http://47.236.5.114:5000/api/
  更新为 http://43.159.32.210:5000/api/
This commit is contained in:
2026-08-16 17:31:29 +08:00
parent 4c4de7a5cb
commit 35dcc24096
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ interface RequestCache {
axios.defaults.headers["Content-Type"] = "application/json; charset=UTF-8" axios.defaults.headers["Content-Type"] = "application/json; charset=UTF-8"
const service: AxiosInstance = axios.create({ const service: AxiosInstance = axios.create({
baseURL: "http://47.236.5.114:5000/api/", baseURL: "http://43.159.32.210:5000/api/",
// baseURL: "/api", // baseURL: "/api",
timeout: 30000, timeout: 30000,
}) })
+1 -1
View File
@@ -52,7 +52,7 @@ function closeAlert(id: number) {
const handleClick = async (btnObj: BtnItem) => { const handleClick = async (btnObj: BtnItem) => {
if (btnObj.title === "断开") return if (btnObj.title === "断开") return
if (btnObj.title === "小说下载") { if (btnObj.title === "小说下载") {
connect("http://47.236.5.114:5000/api/book/download") connect("http://43.159.32.210:5000/api/book/download")
return return
} }
loading.value = true loading.value = true