diff --git a/.gitignore b/.gitignore index 398406c6..c3dcdc86 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,8 @@ node_modules .DS_Store # netlify -.netlify +!.netlify/ +.netlify/* +!.netlify/blobs +.netlify/blobs/* +!.netlify/blobs/deploy \ No newline at end of file diff --git a/.netlify/blobs/deploy/artists/accidental-suicide.json b/.netlify/blobs/deploy/artists/accidental-suicide.json new file mode 100644 index 00000000..0a05b1ce --- /dev/null +++ b/.netlify/blobs/deploy/artists/accidental-suicide.json @@ -0,0 +1,4 @@ +{ + "genre": "Death metal", + "mbid": "07024929-c55c-4a6f-8d18-c27a9e394efb" +} \ No newline at end of file diff --git a/.netlify/blobs/deploy/artists/acid-bath.json b/.netlify/blobs/deploy/artists/acid-bath.json new file mode 100644 index 00000000..4c14c447 --- /dev/null +++ b/.netlify/blobs/deploy/artists/acid-bath.json @@ -0,0 +1,4 @@ +{ + "genre": "Sludge metal", + "mbid": "8b8b33a3-0a11-48b4-8f5a-aaa79f4282a8" +} \ No newline at end of file diff --git a/api/scrobble.js b/api/scrobble.js index 92438eca..ea75d1cf 100644 --- a/api/scrobble.js +++ b/api/scrobble.js @@ -6,8 +6,6 @@ export default async (request, context) => { const id = params.get('id') const data = await request.formData() const payload = data['payload'] - console.log(data) - console.log(payload) if (!id) return new Response(JSON.stringify({ status: 'Bad request',