mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
优化app.js 中的地址
Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
parent
771d433ba2
commit
fcdeb2679d
6
app.js
6
app.js
@ -40,10 +40,10 @@ let opts = {
|
||||
}
|
||||
|
||||
|
||||
app.use('/callComponent', proxy('http://192.168.100.108:8088', opts));
|
||||
app.use('/app', proxy('http://192.168.100.108:8088', 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('/ws', createProxyMiddleware({
|
||||
target: 'http://192.168.100.108:8008',
|
||||
target: 'http://127.0.0.1:8008',
|
||||
changeOrigin: true,
|
||||
ws: true
|
||||
}));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user