@@ -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 ) ) ;
4545app . 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);
6653app . use ( express . json ( ) ) ;
6754app . use ( express . urlencoded ( { extended : false } ) ) ;
0 commit comments