From fcdeb2679dd65b7009fa5f218e39edde263e6bf2 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Wed, 2 Nov 2022 13:53:30 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96app.js=20=20=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: java110 <928255095@qq.com> --- app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index a8187ce68..75e302025 100755 --- a/app.js +++ b/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 }));