diff --git a/config/proxy.js b/config/proxy.js index 61ffe7a..78d72f5 100644 --- a/config/proxy.js +++ b/config/proxy.js @@ -8,12 +8,12 @@ */ export default { dev: { - '/saasbase/': { + '/kitchbase/': { target: 'http://localhost:5006/', changeOrigin: true, secure: false, //关闭证书验证 pathRewrite: { - '/saasbase/': '', + '/kitchbase/': '', }, }, '/saasstore/': { diff --git a/src/global_data.js b/src/global_data.js index b5b7104..1769b44 100644 --- a/src/global_data.js +++ b/src/global_data.js @@ -6,5 +6,5 @@ export function getApiUrl() { } } export function getDataBaseUrl() { - return '/saasbase'; + return '/kitchbase'; }