Rename _items.json to items.json
This commit is contained in:
@@ -10,7 +10,7 @@ document.addEventListener('alpine:init', () => {
|
|||||||
},
|
},
|
||||||
|
|
||||||
async init() {
|
async init() {
|
||||||
this.items = await fetch('_items.json')
|
this.items = await fetch('items.json')
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.catch(console.log)
|
.catch(console.log)
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ async function main() {
|
|||||||
item.channels.push(channel)
|
item.channels.push(channel)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
writeToFile('.gh-pages/_items.json', convertToJSON(_items))
|
writeToFile('.gh-pages/items.json', convertToJSON(_items))
|
||||||
|
|
||||||
console.log('Done')
|
console.log('Done')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user