Compare commits

...

1 Commits

Author SHA1 Message Date
  陈豪 083df06722 优化 1 year ago
2 changed files with 5 additions and 8 deletions
Unified View
  1. +3
    -6
      .env
  2. +2
    -2
      vue.config.js

+ 3
- 6
.env View File

@@ -9,10 +9,7 @@ VUE_APP_TBAS_KEY=admin.tabs
VUE_APP_TBAS_TITLES_KEY=admin.tabs.titles VUE_APP_TBAS_TITLES_KEY=admin.tabs.titles


# api服务的baseUrls # api服务的baseUrls
VUE_APP_API_IDS=https://ids.justfit.com
VUE_APP_API_BASE_URL_API=https://agentapi.justfit.com
VUE_APP_API_COMMON_BASE_URL=https://api.allpcb.com
VUE_APP_API_OSS_BASE_URL=https://member.justfit.com
VUE_APP_API_ALLPCB_BASE_URL=https://www.allpcb.com

VUE_APP_API_IDS=/ids
VUE_APP_API_BASE_URL_API=/
VUE_APP_API_OFFER=/
VUE_APP_YFZX_CSZ=115ecffc-261a-464d-c9c4-3a0343848dd6 VUE_APP_YFZX_CSZ=115ecffc-261a-464d-c9c4-3a0343848dd6

+ 2
- 2
vue.config.js View File

@@ -57,7 +57,7 @@ module.exports = {
proxy: { proxy: {
...proxyConfig, ...proxyConfig,
'/ids': { '/ids': {
target: 'http://192.168.19.4:44339',
target: 'http://localhost:44339',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/ids': '' '^/ids': ''
@@ -65,7 +65,7 @@ module.exports = {
logLevel: 'debug', logLevel: 'debug',
}, },
'/api': { '/api': {
target: 'http://192.168.19.4:44332',
target: 'http://localhost:44354',
changeOrigin: true, changeOrigin: true,
pathRewrite: {}, pathRewrite: {},
logLevel: 'debug', logLevel: 'debug',


Loading…
Cancel
Save