宁夏大屏打包配置
This commit is contained in:
parent
5ed70b45b1
commit
3b3e15d21e
|
|
@ -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/'
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue