mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 21:23:08 +02:00
Update boot.js
This commit is contained in:
parent
c91eef0030
commit
79f8eb910f
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
|
||||
const res = await fetch(`/assets/locales/${lang}.${v}.json`);
|
||||
const json = await res.json();
|
||||
localStorage.setItem('lang', lang);
|
||||
localStorage.setItem('locale', JSON.stringify(json));
|
||||
}
|
||||
//#endregion
|
||||
|
|
Loading…
Reference in a new issue