]> source.dussan.org Git - sonarqube.git/commitdiff
add web context on the measures page
authorStas Vilchik <vilchiks@gmail.com>
Tue, 19 Apr 2016 08:53:07 +0000 (10:53 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 19 Apr 2016 08:53:07 +0000 (10:53 +0200)
server/sonar-web/src/main/js/apps/component-measures/app.js

index 264b835b95eac01d57cc77d665daea5e3674d273..230a10f092a5d1d3b8dd1ae58cc5945734f7301b 100644 (file)
@@ -43,7 +43,7 @@ window.sonarqube.appStarted.then(options => {
   const el = document.querySelector(options.el);
 
   const history = useRouterHistory(createHistory)({
-    basename: '/component_measures'
+    basename: window.baseUrl + '/component_measures'
   });
 
   const store = configureStore({