Update apiClient.ts
This commit is contained in:
1 parent
4386aa9ee7
commit
ce9e7957d0
1 file changed
+4
-2
@@ -5,8 +5,10 @@ const token = localStorage.getItem('token');
|
||||
|
||||
// 创建 Axios 实例
|
||||
const apiClient = axios.create({
|
||||
//baseURL: window.location.origin,
|
||||
baseURL: 'http://192.168.1.35:8080/apiForTianze', // 替换为你的后端 API 地址
|
||||
//baseURL: window.location.origin+'/apiForTianze', // 替换为你的后端 API 地址
|
||||
//baseURL: 'http://192.168.1.21:8080/apiForTianze', // 替换为你的后端 API 地址
|
||||
//baseURL: 'https://tianze.hong.email/apiForTianze', // 替换为你的后端 API 地址
|
||||
baseURL: ' http://[2409:8a15:7a47:3d00:43a8:ab66:d726:b52f]:8080/apiForTianze', // 替换为你的后端 API 地址
|
||||
/* headers: {
|
||||
'Content-Type': 'application/json'
|
||||
} */
|
||||
|
||||
Reference in new issue
Block a user