1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-01-30 19:02:34 +00:00

Fix for Sonarr text fix in settings.

This commit is contained in:
Louis Vézina 2019-03-03 15:48:31 -05:00
parent 56c0d0edcc
commit 340862401d

View file

@ -2576,7 +2576,7 @@
} else {
protocol = 'http';
}
const sonarr_url = $('#settings_sonarr_ip').val() + ":" + $('#settings_sonarr_port').val() + $('#settings_sonarr_baseurl').val().replace(/\/$/, "") + "api/system/status?apikey=" + $('#settings_sonarr_apikey').val();
const sonarr_url = $('#settings_sonarr_ip').val() + ":" + $('#settings_sonarr_port').val() + $('#settings_sonarr_baseurl').val().replace(/\/$/, "") + "/api/system/status?apikey=" + $('#settings_sonarr_apikey').val();
$.getJSON("{{base_url}}test_url/" + protocol + "/" + encodeURIComponent(sonarr_url), function (data) {
if (data.status) {