mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-12-03 12:49:30 +00:00
Cachebust languages.json (#34705)
* Cachebust languages.json To avoid loading stale language files. The individual language files as hashbusted but the metadata file is not, and it is not feasible to do so. * Switch cachebust to use Date.now to further avoid collisions * Fix tests * Fix tests
This commit is contained in:
committed by
GitHub
parent
bfd2d16fa6
commit
ceaa3ff74e
@@ -48,7 +48,7 @@ export function setupLanguageMock() {
|
||||
fetchMock.mockGlobal();
|
||||
fetchMock
|
||||
.get(
|
||||
"end:/i18n/languages.json",
|
||||
"include:/i18n/languages.json?",
|
||||
{
|
||||
en: "en_EN.json",
|
||||
de: "de_DE.json",
|
||||
|
||||
Reference in New Issue
Block a user