Commit 63b4cece authored by xuwenhui's avatar xuwenhui

商用

parent 1bf14963
...@@ -41,10 +41,11 @@ let opts = { ...@@ -41,10 +41,11 @@ let opts = {
} }
// app.use('/callComponent', proxy('http://127.0.0.1:8008', opts)); app.use('/callComponent', proxy('http://127.0.0.1:8008', opts));
// app.use('/app', proxy('http://127.0.0.1:8008', opts)); app.use('/app', proxy('http://127.0.0.1:8008', opts));
app.use('/ws', createProxyMiddleware({ app.use('/ws', createProxyMiddleware({
target: 'http://124.70.46.221:3000', // target: 'http://124.70.46.221:3000',
target: 'http://172.16.3.253:8008',
changeOrigin: true, changeOrigin: true,
ws: true ws: true
})); }));
...@@ -55,13 +56,15 @@ app.use('/ws', createProxyMiddleware({ ...@@ -55,13 +56,15 @@ app.use('/ws', createProxyMiddleware({
// app.use('/app', proxy('http://127.0.0.1:8008', opts)); // app.use('/app', proxy('http://127.0.0.1:8008', opts));
// app.use('/ws', proxy('http://124.70.46.221:3000', opts)); // app.use('/ws', proxy('http://124.70.46.221:3000', opts));
// app.use('/callComponent',proxy('http://192.168.1.106:8012',opts)); // app.use('/callComponent',proxy('http://192.168.1.106:8012',opts));
app.use('/app',proxy('http://124.70.46.221:3000',opts)); // app.use('/app',proxy('http://124.70.46.221:3000',opts));
// app.use('/app',proxy('http://172.16.3.253:8008',opts));
// app.use('/callComponent', proxy('http://47.106.15.126:8088', opts)); // app.use('/callComponent', proxy('http://47.106.15.126:8088', opts));
// app.use('/app', proxy('http://47.106.15.126:8088', opts)); // app.use('/app', proxy('http://47.106.15.126:8088', opts));
// app.use('/callComponent',proxy('http://124.70.46.221:3000',opts)); // app.use('/callComponent',proxy('http://124.70.46.221:3000',opts));
app.use('/callComponent',proxy('http://124.70.46.221:3000',opts)); // app.use('/callComponent',proxy('http://124.70.46.221:3000',opts));
// app.use('/callComponent',proxy('http://172.16.3.253:8008',opts));
// app.use('/app',proxy('http://192.168.100.108:8008',opts)); // app.use('/app',proxy('http://192.168.100.108:8008',opts));
//app.listen(3000); //app.listen(3000);
......
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