chore: cache files overwritten during build
This commit is contained in:
parent
2d4efa2e74
commit
1218dc83d0
5 changed files with 0 additions and 83 deletions
|
@ -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`;
|
||||
|
|
|
@ -67,11 +67,6 @@ for = "/api/now-playing"
|
|||
[headers.values]
|
||||
Content-Type = "application/json"
|
||||
|
||||
[[headers]]
|
||||
for = "/api/mbids"
|
||||
[headers.values]
|
||||
Content-Type = "application/json"
|
||||
|
||||
[[headers]]
|
||||
for = "/api/artist-capitalization"
|
||||
[headers.values]
|
||||
|
|
|
@ -1,58 +0,0 @@
|
|||
export default {
|
||||
adramelech: '259e6968-a841-4fc5-b02b-54665b85977b',
|
||||
'aesop rock': 'aba64937-3334-4c65-90a1-4e6b9d4d7ada',
|
||||
afi: '1c3919b2-43ca-4a4a-935d-9d50135ec0ef',
|
||||
aset: '5dac39d3-beb8-4c99-9cdc-3e647a594af6',
|
||||
ataraxy: 'f17a2c62-51cf-4e7e-9640-a5da5b1178a3',
|
||||
augury: 'd651baba-5ce1-4315-b884-d951e0435418',
|
||||
autopsy: '1d097d38-d5ca-4cd4-9200-7f08eedd0875',
|
||||
basement: 'a8c7ff7a-ebc0-42c7-8828-475decf0ccdd',
|
||||
'carnal tomb': 'e24534dc-d29e-4e0b-84fa-26d487b0790a',
|
||||
'carpe noctem': 'aa349181-1cb9-4340-bb3f-82eefba3e697',
|
||||
'chapel of disease': '27a3ffb1-b3c6-422f-88a0-463a497f2d6f',
|
||||
civerous: 'f7579430-af4b-42e6-86c7-4c24a8411b58',
|
||||
contaminated: '11f7a795-25b1-4f25-8b23-734cba19f8a5',
|
||||
cruciamentum: '9a783663-db0c-4237-a3a9-afe72d055ddc',
|
||||
'dead bob': 'd39ffe1a-ef5d-4f01-8a14-8f7195b4ce86',
|
||||
deafheaven: 'f4ccf6c5-ad41-4f8f-bb9e-6e2c6ad23302',
|
||||
death: 'dbb3b771-ae77-4381-b61c-758b5b7898ec',
|
||||
demigod: 'fc1ff9dd-3611-4e0f-9559-6e503d2fdb14',
|
||||
'edge of sanity': '82d1972f-f815-480d-ba78-9873b799bdd1',
|
||||
envy: '8c4519da-59e7-44b5-868d-350dffb30b51',
|
||||
'fawn limbs': '91cd46b7-30ef-4b99-a332-89512c02df2e',
|
||||
fen: '1d86a19b-8ddd-448c-a815-4f41350bea53',
|
||||
fumes: 'a5139ca1-f4f3-4bea-ae4c-ae4e2efd857d',
|
||||
ghastly: '70f969df-7fc1-421e-afad-678c0bbd1aea',
|
||||
'home is where': '76ead0bf-51e0-43c8-ae8f-59caefdd84a2',
|
||||
immolation: 'c373c7f0-fddf-4c04-a327-19dd83590753',
|
||||
inanna: 'b7200279-81b3-418a-8c2c-25b189c40843',
|
||||
'khthoniik cerviiks': '17098248-792c-4396-b784-0ba0ed3314d0',
|
||||
krallice: 'b4e4b359-76a3-447e-be1d-80a24887134e',
|
||||
'la dispute': '2ec89bcc-5bf9-4d2a-ac5e-44b7496d115a',
|
||||
mefitis: '5d2b3f1a-e206-4ba8-adf5-d3547542266b',
|
||||
nirvana: '5b11f4ce-a62d-471e-81fc-a69a8278c7da',
|
||||
nomeansno: '37e9d7b2-7779-41b2-b2eb-3685351caad3',
|
||||
nothing: 'e86b5e8c-8a11-40ea-9bb0-551df95e99d4',
|
||||
nucleus: '9eefaa74-8dea-41af-8bb3-0d9616bec16f',
|
||||
oasis: '39ab1aed-75e0-4140-bd47-540276886b60',
|
||||
obliteration: '5c241a91-d7e9-447a-807c-e4a8435f10ef',
|
||||
'oranssi pazuzu': 'e9d2cdf6-d485-4074-9a53-9990c9a4d8b1',
|
||||
osees: '194272cc-dcc8-4640-a4a6-66da7d250d5c',
|
||||
panopticon: 'd9b1f00a-31a7-4f64-9f29-8481e7be8911',
|
||||
'pigment vehicle': 'c421f86c-991c-4b2d-9058-516375903deb',
|
||||
'phoebe bridgers': '96855c21-b832-4366-ba12-0d2330c36a86',
|
||||
rapture: '4a58ee8e-5ea9-4dd8-9fe6-b88cc6e67fb1',
|
||||
'regional justice center': '64ad5550-e93f-4add-80c3-e6b651f4f250',
|
||||
replicant: '693adda8-6c52-466e-8ea0-e0e42679d320',
|
||||
rush: '534ee493-bfac-4575-a44a-0ae41e2c3fe4',
|
||||
'shards of humanity': '9808e199-a99f-44e3-b6c5-daa9fcc6c9cb',
|
||||
'soft kill': 'c16dcdae-a651-42c1-aff8-edda0f463157',
|
||||
'soul blind': '94dba818-73e7-4ee1-a8ed-894cef10552b',
|
||||
sovereign: '8e5bd67e-9e31-4e2f-ad18-a3f6508f495e',
|
||||
svartidauði: '5b67060c-6ec8-4ee8-9783-2207c169402d',
|
||||
'sunday valley': 'f71d08b7-8cee-48a8-acf0-95c9d6cf8fb9',
|
||||
undergang: '6853b4ec-8cd4-46a4-b970-8331d4587c43',
|
||||
vircolac: '29616e0c-78d6-4c5f-99e2-d9e113d19d6a',
|
||||
'wolves in the throne room': 'e9452446-7702-4853-96ce-5dfe6748d3fb',
|
||||
worm: '6313658e-cd68-4c81-9778-17ce3825748e',
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
import mbidPatches from './json/mbid-patches.js'
|
||||
|
||||
export default async function () {
|
||||
return mbidPatches
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
layout: null
|
||||
eleventyExcludeFromCollections: true
|
||||
permalink: /api/mbids
|
||||
---
|
||||
{{ mbidPatches | json }}
|
Reference in a new issue