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
Ryan Wang 2024-06-25 14:42:45 +08:00 committed by GitHub
parent 9b02bc3405
commit 705bd235c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ import {
} from "../src";
const defaultAxiosInstance = axios.create({
baseURL: "/",
withCredentials: true,
});