add: allow external proxy to proxy videos

This commit is contained in:
trisua 2025-04-26 22:28:08 -04:00
parent a114d862ae
commit 9bee739a45
2 changed files with 7 additions and 9 deletions

View file

@ -420,11 +420,7 @@
params.append("code_challenge_method", "S256");
params.append("code_challenge", challenge);
window.open(
`https://accounts.spotify.com/authorize?${params.toString()}`,
);
window.location.reload();
window.location.href = `https://accounts.spotify.com/authorize?${params.toString()}`;
});
});
@ -621,9 +617,7 @@
`${window.location.origin}/auth/connections_link/LastFm`,
);
window.open(`https://last.fm/api/auth?${params.toString()}`);
window.location.reload();
window.location.href = `https://last.fm/api/auth?${params.toString()}`;
});
});