diff --git a/config/index.js b/config/index.js index ff9a73de..0fdc9ddb 100644 --- a/config/index.js +++ b/config/index.js @@ -20,7 +20,7 @@ module.exports = { assetsPublicPath: '/', proxyTable: { '/api/**': { - target: 'http://192.168.5.25:9003', + target: 'http://192.168.5.32:9003', changeOrigin: true, secure: false, } diff --git a/config/prod.env.js b/config/prod.env.js index 61ec9f09..2ab23254 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -4,11 +4,11 @@ module.exports = { // OFFICE_WEB:'"https://office.tszcloud.com"' // API_HOST:'"https://api.tszcloud.com/api/"', - // OFFICE_WEB:'"https://office.tszcloud.com"' - // API_HOST: '"https://bapi.tszcloud.com/api/"', + OFFICE_WEB:'"https://office.tszcloud.com"', + API_HOST: '"https://bapi.tszcloud.com/api/"', // OFFICE_WEB: '"https://office.tszcloud.com"' - API_HOST:'"http://192.168.5.32:9003/api/"', + // API_HOST:'"http://192.168.5.32:9003/api/"', }