Browse Source

请求修改

tmp
zhaoy 11 months ago
parent
commit
ec2b0c6bc6
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      config/proxy.js
  2. +1
    -1
      src/global_data.js

+ 2
- 2
config/proxy.js View File

@@ -8,12 +8,12 @@
*/ */
export default { export default {
dev: { dev: {
'/saasbase/': {
'/kitchbase/': {
target: 'http://localhost:5006/', target: 'http://localhost:5006/',
changeOrigin: true, changeOrigin: true,
secure: false, //关闭证书验证 secure: false, //关闭证书验证
pathRewrite: { pathRewrite: {
'/saasbase/': '',
'/kitchbase/': '',
}, },
}, },
'/saasstore/': { '/saasstore/': {


+ 1
- 1
src/global_data.js View File

@@ -6,5 +6,5 @@ export function getApiUrl() {
} }
} }
export function getDataBaseUrl() { export function getDataBaseUrl() {
return '/saasbase';
return '/kitchbase';
} }

Loading…
Cancel
Save