diff --git a/frontend/src/i18n.js b/frontend/src/i18n.js index a72ceee..17fdbce 100644 --- a/frontend/src/i18n.js +++ b/frontend/src/i18n.js @@ -61,7 +61,7 @@ export async function loadLangs(lang){ lang = lang != null ? lang : getCookie("lang"); lang = lang != "" ? lang : default_lang; - const filename = "./i18n/" + lang.toUpperCase() + ".txt"; + const filename = "/i18n/" + lang.toUpperCase() + ".txt"; const content = await (await fetch(filename)).text(); const lines = content.split("\n");