Commit 500fe89c authored by 顾文旭's avatar 顾文旭

fix 跨域

parent 43b0beb3
...@@ -68,5 +68,4 @@ export function delCookie() { ...@@ -68,5 +68,4 @@ export function delCookie() {
} }
} }
export const UploadPicUrl = export const UploadPicUrl = process.env.NODE_ENV === "development" ? `/api/v1/relay/ks3api_upload` : "/api/v1/relay/ks3api_upload";
process.env.NODE_ENV === "development" ? `http://127.0.0.1:8055/api/v1/relay/ks3api_upload` : "/api/v1/relay/ks3api_upload";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment