diff --git a/common/config.js b/common/config.js index a42a668..f3e6af6 100644 --- a/common/config.js +++ b/common/config.js @@ -1,2 +1,3 @@ -export const $apiLinks = "https://admin.hezhiying.com.cn/" // api 接口地址 -export const baseUrl = "https://admin.hezhiying.com.cn/" \ No newline at end of file +let url = `${window.location.origin}/` +export const $apiLinks = url // api 接口地址 +export const baseUrl = url \ No newline at end of file