mirror of https://github.com/halo-dev/halo
fix: incorrect root path in API client requests (#6136)
#### What type of PR is this? /area ui /kind bug #### What this PR does / why we need it: 修复 api client 默认请求根地址不正确的问题。 #### Does this PR introduce a user-facing change? ```release-note None ```pull/6138/head
parent
9b02bc3405
commit
705bd235c3
|
@ -68,6 +68,7 @@ import {
|
||||||
} from "../src";
|
} from "../src";
|
||||||
|
|
||||||
const defaultAxiosInstance = axios.create({
|
const defaultAxiosInstance = axios.create({
|
||||||
|
baseURL: "/",
|
||||||
withCredentials: true,
|
withCredentials: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue