mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-11 02:34:29 +05:00
refactor: improved web cache
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user