Update boot.js

This commit is contained in:
syuilo 2020-12-31 17:32:46 +09:00
parent c91eef0030
commit 79f8eb910f

View File

@ -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