diff --git a/server/app/scripts/app.js b/server/app/scripts/app.js index 1f4738081..b2106ce83 100644 --- a/server/app/scripts/app.js +++ b/server/app/scripts/app.js @@ -280,8 +280,8 @@ app.controller("CommitController", function($scope, $http, $routeParams, stdout, }); $scope.rebuildCommit = function() { - $http({method: 'POST', url: '/api/repos/'+remote+'/'+owner+'/'+name+'/'+'branches/'+branch+'/'+'commits/'+commit+'/?action=rebuild' }) + $http({method: 'POST', url: '/api/repos/'+remote+'/'+owner+'/'+name+'/'+'branches/'+branch+'/'+'commits/'+commit+'?action=rebuild' }) } -}); \ No newline at end of file +});