mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 02:11:01 +00:00
Remove trailing / for rebuild button
This commit is contained in:
parent
cd1fbe5d85
commit
e6ce9b8aec
1 changed files with 2 additions and 2 deletions
|
@ -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' })
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue