Skip to content

Commit 5dbc41b

Browse files
committed
fix: 修正axios实例的baseURL为API_URL
1 parent dd99c26 commit 5dbc41b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/utils/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const API_URL = `${API_POINT}${API_PATH}`;
1414
// 创建axios实例
1515
const api = axios.create({
1616
timeout: 60000,
17-
baseURL: API_POINT,
17+
baseURL: API_URL,
1818
withCredentials: true,
1919
});
2020

0 commit comments

Comments
 (0)