From 3aea17ad64778accb9c5038317d8a1f713104c76 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9goire=20Aubert?= Date: Tue, 27 Aug 2024 13:33:38 +0200 Subject: [PATCH] SONAR-22889 Fix webapp dev server proxy for HTTPS --- server/sonar-web/scripts/start.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/sonar-web/scripts/start.js b/server/sonar-web/scripts/start.js index fe359dda26d..03eb8b3fae7 100644 --- a/server/sonar-web/scripts/start.js +++ b/server/sonar-web/scripts/start.js @@ -110,8 +110,9 @@ async function run() { res, { target: proxyTarget, + changeOrigin: true, }, - (e) => console.error('req error', e) + (e) => console.error('req error', e), ); } else { handleStaticFileRequest(req, res); -- 2.39.5