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:
parent
56c0d0edcc
commit
340862401d
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue