From 1fff87294bfa7732d1710dc3b8b38c081520642e Mon Sep 17 00:00:00 2001 From: lihui Date: Thu, 5 Sep 2024 02:02:20 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8F=8F=E8=BF=B0=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lihui --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index ff5e160b0..59334d335 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)); -- Gitee