aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/scripts
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2019-01-23 11:50:55 +0100
committerSonarTech <sonartech@sonarsource.com>2019-01-28 20:21:01 +0100
commit37075a58cbab2c5b1dbcc8bba42697f72d3dbacc (patch)
treeade7637c5e49bf091840854eced2f5f0d758d28b /server/sonar-web/scripts
parent96621d186ab70976d88436994005f334998602fa (diff)
downloadsonarqube-37075a58cbab2c5b1dbcc8bba42697f72d3dbacc.tar.gz
sonarqube-37075a58cbab2c5b1dbcc8bba42697f72d3dbacc.zip
Allows scanner to work through web dev server
Diffstat (limited to 'server/sonar-web/scripts')
-rw-r--r--server/sonar-web/scripts/start.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/scripts/start.js b/server/sonar-web/scripts/start.js
index 977ab528b42..20036de343e 100644
--- a/server/sonar-web/scripts/start.js
+++ b/server/sonar-web/scripts/start.js
@@ -116,7 +116,8 @@ function runDevServer(compiler, host, port, protocol) {
'/static': { target: proxy, changeOrigin: true },
'/integration': { target: proxy, changeOrigin: true },
'/sessions/init': { target: proxy, changeOrigin: true },
- '/oauth2': { target: proxy, changeOrigin: true }
+ '/oauth2': { target: proxy, changeOrigin: true },
+ '/batch': { target: proxy, changeOrigin: true }
}
});