mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Trim trailing slash on base url setting
This commit is contained in:
parent
bd6dd74518
commit
0b1c4691dc
1 changed files with 2 additions and 0 deletions
|
@ -3045,6 +3045,8 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
function baseURLSet() {
|
||||
var base_url = $('#http_base_url');
|
||||
base_url.val(base_url.val().replace(/\/+$/g, ''));
|
||||
if ($('#http_base_url').val()) {
|
||||
$('.base-url-warning').hide();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue