]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-22889 Fix webapp dev server proxy for HTTPS
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Tue, 27 Aug 2024 11:33:38 +0000 (13:33 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 27 Aug 2024 20:02:40 +0000 (20:02 +0000)
server/sonar-web/scripts/start.js

index fe359dda26d299ccbf87969f6b16156c5fa25d12..03eb8b3fae768f138b394c5de5c821bd582c4266 100644 (file)
@@ -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);