mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-18 10:57:04 -04:00
Mass Drop Plugins
This commit is contained in:
parent
2a98a52f1d
commit
cb494a15c3
34 changed files with 9 additions and 8285 deletions
|
@ -66,8 +66,8 @@ async function addListeners(audioElement: HTMLAudioElement, url: string, parentB
|
|||
const madeURL = new URL(url);
|
||||
madeURL.searchParams.set("t", Date.now().toString());
|
||||
|
||||
const corsProxyUrl = "https://corsproxy.io?" + encodeURIComponent(madeURL.href);
|
||||
const response = await fetch(corsProxyUrl);
|
||||
const { href } = madeURL;
|
||||
const response = await fetch(href);
|
||||
const blob = await response.blob();
|
||||
const blobUrl = URL.createObjectURL(blob);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue