diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/js/db.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/js/db.js b/resources/js/db.js index 648c54c..e084818 100644 --- a/resources/js/db.js +++ b/resources/js/db.js @@ -72,9 +72,9 @@ const DB = { }; async function initializeDB () { - DB.allMonsters = await fetch('/db/all-monsters.json').then((response) => response.json()); - DB.allAnimations = await fetch('/db/animations.json').then((response) => response.json()); - DB.allItems = await fetch('/db/all-items.json').then((response) => response.json()); + DB.allMonsters = await fetch('/db/_generated/all-monsters.json').then((response) => response.json()); + DB.allAnimations = await fetch('/db/_generated/animations.json').then((response) => response.json()); + DB.allItems = await fetch('/db/_generated/all-items.json').then((response) => response.json()); DB.shapes = await fetch('/modules/tuxemon/mods/tuxemon/db/shape/shapes.json').then((response) => response.json()); @@ -147,7 +147,7 @@ async function fetchItem (slug) { */ async function fetchTranslation (locale) { if (! DB.translations[locale]) { - DB.translations[locale] = await fetch(`/db/i18n/${locale}.json`).then((response) => response.json()); + DB.translations[locale] = await fetch(`/db/_generated/i18n/${locale}.json`).then((response) => response.json()); } return DB.translations[locale]; |