From 26d6c129288dc7e904df6824a9f51ab02538d9d9 Mon Sep 17 00:00:00 2001 From: longjuan <769022681@qq.com> Date: Sat, 13 Jul 2024 01:06:57 +0800 Subject: [PATCH] use correct axios baseURL --- console/src/views/S3Link.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/src/views/S3Link.vue b/console/src/views/S3Link.vue index fcdf508..15a577f 100644 --- a/console/src/views/S3Link.vue +++ b/console/src/views/S3Link.vue @@ -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([]); const policyName = ref("");