宁夏大屏打包配置

This commit is contained in:
zhouzy062 2024-04-03 09:10:47 +08:00
parent 5ed70b45b1
commit 3b3e15d21e
2 changed files with 3 additions and 3 deletions

View File

@ -14,6 +14,6 @@ var testUrl = '192.168.0.14:21626' //线上
module.exports = merge(prodEnv, { module.exports = merge(prodEnv, {
NODE_ENV: '"development"', NODE_ENV: '"development"',
//API调用地址 //API调用地址
API_ROOT: '"http://' + testUrl + '"', // API_ROOT: '"http://' + testUrl + '"',
BASE_URL: '/cockpit-screen/' // BASE_URL: '/cockpit-screen/'
}) })

View File

@ -20,7 +20,7 @@ module.exports = {
cssSourceMap: true, cssSourceMap: true,
proxyTable: { proxyTable: {
'/screen': { '/screen': {
target: 'http://112.29.103.165:21626', target: 'http://112.29.103.165:21624',
changeOrigin: true, changeOrigin: true,
// secure: true, //如果是https接口需要配置这个参数 // secure: true, //如果是https接口需要配置这个参数
pathRewrite: { pathRewrite: {