MUHAHAHAHAHHAHAHAHAHAHAAHAHAHHAAHAHAHAH FUCK YOU CORS KILL YOURSELF LMFAOOOOOOOOOOOOOOOOOOOOOOOOOOO

This commit is contained in:
amy 2024-06-26 15:24:53 +03:30
parent 75b90c579a
commit 3d253dac01

View file

@ -14,7 +14,7 @@ export function MusicEntry({ spotifylink }: { spotifylink: string }) {
const [isLoading, setIsLoading] = createSignal(true);
onMount(async () => {
try {
const apiresponse = await fetch(`https://api.song.link/v1-alpha.1/links?url=spotify%253Atrack%253A${spotifylink}`)
const apiresponse = await fetch(`https://corsisdum.exhq.dev/v1-alpha.1/links?url=spotify%253Atrack%253A${spotifylink}`)
const data = await apiresponse.json()
console.log(data)
setMusicInfo(data)