Browse Source

WebUI: fix the url for banPeers method

adaptive-webui-19844
brvphoenix 4 years ago
parent
commit
4d9c6b9f02
  1. 2
      src/webui/www/private/scripts/prop-peers.js

2
src/webui/www/private/scripts/prop-peers.js

@ -143,7 +143,7 @@ window.qBittorrent.PropPeers = (function() {
if (confirm('QBT_TR(Are you sure you want to permanently ban the selected peers?)QBT_TR[CONTEXT=PeerListWidget]')) { if (confirm('QBT_TR(Are you sure you want to permanently ban the selected peers?)QBT_TR[CONTEXT=PeerListWidget]')) {
new Request({ new Request({
url: 'api/v2/torrents/banPeers', url: 'api/v2/transfer/banPeers',
noCache: true, noCache: true,
method: 'post', method: 'post',
data: { data: {

Loading…
Cancel
Save