mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-22 05:22:53 +09:00
Update boot.js
This commit is contained in:
parent
c15536c394
commit
fed60dd701
@ -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 New Issue
Block a user