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