From 79f8eb910fa832c9e64ba594f1a6d00c180270de 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 12731e5d3b..1df9edd1c1 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