mirror of
https://github.com/harness/drone.git
synced 2025-05-09 18:12:52 +08:00
Remove trailing / for rebuild button
This commit is contained in:
parent
cd1fbe5d85
commit
e6ce9b8aec
@ -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 New Issue
Block a user