mirror of
https://github.com/harness/drone.git
synced 2025-05-10 12:51:59 +08:00
Remove trailing / for rebuild button
This commit is contained in:
parent
cd1fbe5d85
commit
e6ce9b8aec
@ -280,7 +280,7 @@ app.controller("CommitController", function($scope, $http, $routeParams, stdout,
|
|||||||
});
|
});
|
||||||
|
|
||||||
$scope.rebuildCommit = function() {
|
$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 New Issue
Block a user