mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化
This commit is contained in:
parent
ee6dfe4e58
commit
0c3cd322f5
8
app.js
8
app.js
@ -32,16 +32,16 @@ let opts = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// app.use('/callComponent', proxy('http://192.168.100.108:8008', opts));
|
app.use('/callComponent', proxy('http://192.168.100.108:8088', opts));
|
||||||
// app.use('/app', proxy('http://192.168.100.108:8008', opts));
|
app.use('/app', proxy('http://192.168.100.108:8088', opts));
|
||||||
app.use('/ws', createProxyMiddleware({
|
app.use('/ws', createProxyMiddleware({
|
||||||
target: 'http://192.168.100.108:8008',
|
target: 'http://192.168.100.108:8008',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true
|
ws: true
|
||||||
}));
|
}));
|
||||||
|
|
||||||
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',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('/callComponent',proxy('http://192.168.1.106:8012',opts));
|
||||||
// app.use('/app',proxy('http://192.168.1.106:8012',opts));
|
// app.use('/app',proxy('http://192.168.1.106:8012',opts));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user