Skip to content

Commit b5c44e4

Browse files
committed
feature: 调整baseUrl方法
1 parent 5d04b8d commit b5c44e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/utils/format.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,5 @@ export const setBodyPrimaryColor = ( primaryColor, darkMode ) =>{
121121
const baseUrl = ref(import.meta.env.VITE_BASE_API)
122122

123123
export const getBaseUrl = () => {
124-
return baseUrl.value === "/" ? "" : baseUrl.value + "/"
124+
return baseUrl.value === "/" ? "" : baseUrl.value
125125
}

0 commit comments

Comments
 (0)