Add caddy and clean up build

This commit is contained in:
2026-09-10 11:20:46 +02:00
parent 443a7c483a
commit d6cb4078bc
9 changed files with 49 additions and 57 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ const loadedLocales = new Set()
async function loadLocaleMessages(locale) {
if (!loadedLocales.has(locale)) {
const messages = await import(`../locales/${locale}.json`)
const messages = await import(`./locales/${locale}.json`)
i18n.global.setLocaleMessage(locale, messages.default)
loadedLocales.add(locale)
}