refactor: improved web cache

This commit is contained in:
Yurii committed 2024-11-14 22:30:34 +03:00
1 parent d3b28c5bfb
commit 34eabca64a
5 files changed
+49 -16

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ class Lang {
}
async fetchTranslations(locale) {
const response = await fetch(`/static/locales/${locale}.json`);
const response = await fetch(`/static/locales/${locale}.json?{BUILD_TIME}`);
const data = await response.json();
if (data.values instanceof Object) {