Fix unable to add multiple peers in WebUI

Wrong delimiter was used.
This commit is contained in:
Sepro 2020-04-08 03:22:19 +02:00
parent eb0295197c
commit 2c8230f1ae

View file

@ -42,7 +42,7 @@
method: 'post', method: 'post',
data: { data: {
hashes: hash, hashes: hash,
peers: peers.join(';') peers: peers.join('|')
}, },
onFailure: function() { onFailure: function() {
alert("QBT_TR(Unable to add peers. Please ensure you are adhering to the IP:port format.)QBT_TR[CONTEXT=HttpServer]"); alert("QBT_TR(Unable to add peers. Please ensure you are adhering to the IP:port format.)QBT_TR[CONTEXT=HttpServer]");