mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
1.4版发布
Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
parent
310cdf4224
commit
3199fb6023
19
app.js
19
app.js
@ -40,28 +40,15 @@ let opts = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
app.use('/callComponent', proxy('http://192.168.100.108:8088', opts));
|
app.use('/callComponent', proxy('http://127.0.0.1:8088', opts));
|
||||||
app.use('/app', proxy('http://192.168.100.108:8088', opts));
|
app.use('/app', proxy('http://127.0.0.1:8088', opts));
|
||||||
app.use('/ws', createProxyMiddleware({
|
app.use('/ws', createProxyMiddleware({
|
||||||
target: 'http://192.168.100.108:8008',
|
target: 'http://127.0.0.1:8008',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true
|
ws: true
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// app.use('/callComponent', proxy('http://127.0.0.1:8008', opts));
|
|
||||||
// app.use('/app', proxy('http://127.0.0.1:8008', opts));
|
|
||||||
// app.use('/ws', proxy('http://127.0.0.1:8008', opts));
|
|
||||||
// app.use('/callComponent',proxy('http://192.168.1.106:8012',opts));
|
|
||||||
// app.use('/app',proxy('http://192.168.1.106:8012',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('/callComponent',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);
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
app.use(express.urlencoded({ extended: false }));
|
app.use(express.urlencoded({ extended: false }));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user