Custom server fix

This commit is contained in:
goodtube4u
2024-08-08 11:12:50 +10:00
parent fbc6ad2228
commit 4f394de956
2 changed files with 4 additions and 4 deletions

View File

@@ -534,10 +534,10 @@
if (goodTube_helper_getCookie('goodtube_customserver_'+server+'_name') && goodTube_helper_getCookie('goodtube_customserver_'+server+'_name') !== 'false') {
// Format the data (cookies are always strings)
let customServer_name = goodTube_helper_getCookie('goodtube_customserver_'+server+'_name');
let customServer_type = parseFloat(goodTube_helper_getCookie('goodtube_customserver_'+server+'_name'));
let customServer_url = goodTube_helper_getCookie('goodtube_customserver_'+server+'_name');
let customServer_type = parseFloat(goodTube_helper_getCookie('goodtube_customserver_'+server+'_type'));
let customServer_url = goodTube_helper_getCookie('goodtube_customserver_'+server+'_url');
let customServer_proxy = goodTube_helper_getCookie('goodtube_customserver_'+server+'_name');
let customServer_proxy = goodTube_helper_getCookie('goodtube_customserver_'+server+'_proxy');
if (customServer_proxy === 'false') {
customServer_proxy = false;
}

2
goodtube.min.js vendored

File diff suppressed because one or more lines are too long