stupid dumb patch because guh rammerhead
This commit is contained in:
parent
ad0f40e638
commit
0dcaace2aa
1 changed files with 6 additions and 1 deletions
|
|
@ -41,7 +41,12 @@
|
|||
// Now save it in a cookie that expires in 72 hours.
|
||||
document.cookie = `rammerhead-session=${sessionID}; max-age=${60 * 60 * 72}; path=/`;
|
||||
}
|
||||
try {
|
||||
iframe.src = `https://aluu.xyz/${getCookie("rammerhead-session")}/${url}`;
|
||||
} catch {
|
||||
window.open(`https://aluu.xyz/${getCookie("rammerhead-session")}/${url}`);
|
||||
}
|
||||
|
||||
} else {
|
||||
// Default to UV
|
||||
iframe.src = window.__uv$config.prefix + window.__uv$config.encodeUrl(url);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue