Commit 69e9352a authored by ninglx's avatar ninglx

update

parent f11d8bcd
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "node tool/server.js", "start": "node tool/server.js",
"dev": "node tool/server.js",
"build": "node tool/build.js", "build": "node tool/build.js",
"build-dist": "npm i && node tool/build-dist.js" "build-dist": "npm i && node tool/build-dist.js"
}, },
......
...@@ -7,8 +7,9 @@ const productionGzipExtensions = ['js', 'css'] ...@@ -7,8 +7,9 @@ const productionGzipExtensions = ['js', 'css']
const proxy = { const proxy = {
'/sso|/design': { '/sso|/design': {
// target: 'http://10.102.1.181:9000', // target: 'http://10.102.1.181:9000',
target: 'http://10.102.1.182:9000', // target: 'http://10.102.1.182:9000',
// target: 'http://10.102.1.182:9100', // target: 'http://10.102.1.182:9100',
target: 'http://106.120.201.126:14724',
}, },
'/cdn': { '/cdn': {
target: 'http://127.0.0.1:3000', target: 'http://127.0.0.1:3000',
......
...@@ -5,8 +5,9 @@ const CompressionWebpackPlugin = require('compression-webpack-plugin') ...@@ -5,8 +5,9 @@ const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css'] const productionGzipExtensions = ['js', 'css']
const proxy = { const proxy = {
'/sso|/design|/develop|/group1|/holo|/web|/opt': { '/sso|/design|/develop|/group1|/holo|/web|/opt': {
target: 'http://10.102.1.182:9000', // target: 'http://10.102.1.182:9000',
// target: 'http://10.102.1.181:9000', // target: 'http://10.102.1.181:9000',
target: 'http://106.120.201.126:14724',
}, },
'/nvr': { '/nvr': {
target: 'http://10.100.1.154:19830', // 回放视频 target: 'http://10.100.1.154:19830', // 回放视频
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment