Update apiClient.ts
This commit is contained in:
1 parent
1f289a73f9
commit
254a215f25
1 file changed
+2
-2
@@ -8,9 +8,9 @@ if(!token){
|
|||||||
|
|
||||||
// 创建 Axios 实例
|
// 创建 Axios 实例
|
||||||
const apiClient = axios.create({
|
const apiClient = axios.create({
|
||||||
//baseURL: window.location.origin+'/apiForTianze', // 替换为你的后端 API 地址
|
baseURL: window.location.origin+'/apiForTianze', // 替换为你的后端 API 地址
|
||||||
//baseURL: 'http://192.168.1.21:8080/apiForTianze', // 替换为你的后端 API 地址
|
//baseURL: 'http://192.168.1.21:8080/apiForTianze', // 替换为你的后端 API 地址
|
||||||
baseURL: 'http://localhost:8080/apiForTianze', // 替换为你的后端 API 地址
|
//baseURL: 'http://localhost:8080/apiForTianze', // 替换为你的后端 API 地址
|
||||||
//baseURL: ' http://[2409:8a15:7a47:3d00:43a8:ab66:d726:b52f]:8080/apiForTianze', // 替换为你的后端 API 地址
|
//baseURL: ' http://[2409:8a15:7a47:3d00:43a8:ab66:d726:b52f]:8080/apiForTianze', // 替换为你的后端 API 地址
|
||||||
/* headers: {
|
/* headers: {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
|
|||||||
Reference in new issue
Block a user