diff --git a/app.js b/app.js index ff5e160b01c84e605f492f1e12510c45dc758450..59334d335e4da7a0ff195884917579b1f3c779af 100644 --- a/app.js +++ b/app.js @@ -39,7 +39,7 @@ let opts = { } -// todo 测试环境 测试使用,生产环境请用nginx带来 +// todo 测试环境 测试使用,生产环境请用nginx代理 app.use('/callComponent', proxy('http://192.168.100.108:8088', opts)); app.use('/app', proxy('http://192.168.100.108:8088', opts)); app.use('/ws', createProxyMiddleware({ @@ -50,7 +50,7 @@ app.use('/ws', createProxyMiddleware({ -// todo 本机 开发用,生产环境请用nginx带来 +// todo 本机 开发用,生产环境请用nginx代理 // app.use('/ws', 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));