fix(build): fix env
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import httpFetch from "@/api/fetch"
|
||||
import { ResultData } from "@/api/typing"
|
||||
import { BASE_LABEL_API } from "@/components/label/api/const"
|
||||
import { Login } from "./types"
|
||||
|
||||
const BASE_PATH =
|
||||
@@ -68,7 +69,7 @@ export const deleteCookie = () => {
|
||||
// /api/v1/label_server/user/permission
|
||||
export const getUserPermission = () => {
|
||||
return httpFetch<any>({
|
||||
url: `/api/v1/label_server/user/permission`,
|
||||
url: BASE_LABEL_API + `/api/v1/label_server/user/permission`,
|
||||
method: "GET",
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user