mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-01 11:50:40 +00:00
Remove trailing / for rebuild button
This commit is contained in:
@@ -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' })
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user