Skip to content

Commit 3199fb6

Browse files
928255095gitee-org
authored andcommitted
1.4版发布
Signed-off-by: java110 <928255095@qq.com>
1 parent 310cdf4 commit 3199fb6

1 file changed

Lines changed: 3 additions & 16 deletions

File tree

app.js

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,28 +40,15 @@ let opts = {
4040
}
4141

4242

43-
app.use('/callComponent', proxy('http://192.168.100.108:8088', opts));
44-
app.use('/app', proxy('http://192.168.100.108:8088', opts));
43+
app.use('/callComponent', proxy('http://127.0.0.1:8088', opts));
44+
app.use('/app', proxy('http://127.0.0.1:8088', opts));
4545
app.use('/ws', createProxyMiddleware({
46-
target: 'http://192.168.100.108:8008',
46+
target: 'http://127.0.0.1:8008',
4747
changeOrigin: true,
4848
ws: true
4949
}));
5050

5151

52-
53-
// app.use('/callComponent', proxy('http://127.0.0.1:8008', opts));
54-
// app.use('/app', proxy('http://127.0.0.1:8008', opts));
55-
// app.use('/ws', proxy('http://127.0.0.1:8008', opts));
56-
// app.use('/callComponent',proxy('http://192.168.1.106:8012',opts));
57-
// app.use('/app',proxy('http://192.168.1.106:8012',opts));
58-
59-
// app.use('/callComponent', proxy('http://47.106.15.126:8088', opts));
60-
// app.use('/app', proxy('http://47.106.15.126:8088', opts));
61-
62-
// app.use('/callComponent',proxy('http://192.168.100.108:8008',opts));
63-
// app.use('/app',proxy('http://192.168.100.108:8008',opts));
64-
6552
//app.listen(3000);
6653
app.use(express.json());
6754
app.use(express.urlencoded({ extended: false }));

0 commit comments

Comments
 (0)