chore: cache files overwritten during build

This commit is contained in:
Cory Dransfeldt 2024-04-03 21:33:45 -07:00
parent 2d4efa2e74
commit 1218dc83d0
No known key found for this signature in database
5 changed files with 0 additions and 83 deletions

View file

@ -67,15 +67,6 @@ export default async (request) => {
console.log(err);
return {}
});
const mbidRes = await fetch("https://coryd.dev/api/mbids", {
type: "json",
}).then((data) => {
if (data.ok) return data.json()
throw new Error('Something went wrong with the mbid endpoint.');
}).catch(err => {
console.log(err);
return {}
});
const artistData = artistRes['artist'];
const mbid = artistData['mbid']
const genreUrl = `https://musicbrainz.org/ws/2/artist/${mbid}?inc=aliases+genres&fmt=json`;