From fed60dd70130038ca1733df6c67e52fb08793eb9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 31 Dec 2020 17:32:46 +0900 Subject: [PATCH] Update boot.js --- src/server/web/boot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/web/boot.js b/src/server/web/boot.js index 12731e5d3..1df9edd1c 100644 --- a/src/server/web/boot.js +++ b/src/server/web/boot.js @@ -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