Skip to content

Commit

Permalink
use correct axios baseURL
Browse files Browse the repository at this point in the history
  • Loading branch information
longjuan committed Jul 12, 2024
1 parent 200ec4f commit 26d6c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/src/views/S3Link.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { axiosInstance } from "@halo-dev/api-client";
import { S3LinkControllerApi } from "@/api";
import type { S3ListResult, LinkResultItem, Policy, ObjectVo } from "@/api";
const s3LinkControllerApi = new S3LinkControllerApi(undefined, "/", axiosInstance);
const s3LinkControllerApi = new S3LinkControllerApi(undefined, axiosInstance.defaults.baseURL, axiosInstance);
const selectedFiles = ref<string[]>([]);
const policyName = ref<string>("");
Expand Down

0 comments on commit 26d6c12

Please sign in to comment.