From 32d87e7cba415da352a6d4a652dcf5f5a893b9be Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 5 Sep 2021 20:58:44 +0300 Subject: [PATCH] Rename _items.json to items.json --- .gh-pages/app.js | 2 +- .gh-pages/{_items.json => items.json} | 0 scripts/update-codes.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename .gh-pages/{_items.json => items.json} (100%) diff --git a/.gh-pages/app.js b/.gh-pages/app.js index 21e655e8..8a75da97 100644 --- a/.gh-pages/app.js +++ b/.gh-pages/app.js @@ -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) diff --git a/.gh-pages/_items.json b/.gh-pages/items.json similarity index 100% rename from .gh-pages/_items.json rename to .gh-pages/items.json diff --git a/scripts/update-codes.js b/scripts/update-codes.js index a920352a..d5de2442 100644 --- a/scripts/update-codes.js +++ b/scripts/update-codes.js @@ -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') }