Rename _items.json to items.json

This commit is contained in:
Aleksandr Statciuk 2021-09-05 20:58:44 +03:00
parent 6f67ec1398
commit 32d87e7cba
3 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ document.addEventListener('alpine:init', () => {
},
async init() {
this.items = await fetch('_items.json')
this.items = await fetch('items.json')
.then(response => response.json())
.catch(console.log)

View file

@ -46,7 +46,7 @@ async function main() {
item.channels.push(channel)
}
})
writeToFile('.gh-pages/_items.json', convertToJSON(_items))
writeToFile('.gh-pages/items.json', convertToJSON(_items))
console.log('Done')
}