MUHAHAHAHAHHAHAHAHAHAHAAHAHAHHAAHAHAHAH FUCK YOU CORS KILL YOURSELF LMFAOOOOOOOOOOOOOOOOOOOOOOOOOOO
This commit is contained in:
parent
75b90c579a
commit
3d253dac01
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue