mirror of
https://github.com/revanced/revanced-website.git
synced 2025-05-03 16:14:25 +02:00
fix: uncomment unauthorized page code (again)
This commit is contained in:
parent
a006605b19
commit
e9746c5734
@ -80,17 +80,17 @@
|
|||||||
// update ui
|
// update ui
|
||||||
logos = logos;
|
logos = logos;
|
||||||
|
|
||||||
// if (location.hash !== '') {
|
if (location.hash !== '') {
|
||||||
// try {
|
try {
|
||||||
// await exchange_token(location.hash.substring(1));
|
await exchange_token(location.hash.substring(1));
|
||||||
// } catch (err) {
|
} catch (err) {
|
||||||
// alert(`Could not exchange the token: ${err}`);
|
alert(`Could not exchange the token: ${err}`);
|
||||||
// }
|
}
|
||||||
// } else if (localStorage.getItem('killswitch') === null) {
|
} else if (localStorage.getItem('killswitch') === null) {
|
||||||
// await goto('/poll/unauthorized/');
|
await goto('/poll/unauthorized/');
|
||||||
// } else {
|
} else {
|
||||||
// alert('Warning: no token!');
|
alert('Warning: no token!');
|
||||||
// }
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function preloadImage(url: string) {
|
function preloadImage(url: string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user