Fixed YT Page

This commit is contained in:
TheEmeraldStarr 2020-10-06 10:34:55 -07:00
parent e0180aaa4a
commit 3d96ecf727

View file

@ -30,7 +30,7 @@
var det = document.domain;
var domain = det.replace('www.', '').split(/[/?#]/)[0];
const origin = btoa(yt);
window.location.replace("https:/" + domain + "/home/utils/?url=" + origin);
window.location.replace("https:/" + domain + "/home/session" + origin);
document.cookie = '__alloy_cookie_auth=yes; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
}
// Cookie Auth