From e528f6a67e9a1a4921f00ba42af08e3a5eb157d7 Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Fri, 8 May 2026 11:12:44 +0900 Subject: [PATCH] =?UTF-8?q?260508=5F10=5FENH:=20=EC=83=88=EB=A1=9C?= =?UTF-8?q?=EA=B3=A0=EC=B9=A8=20=EC=8B=9C=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?=ED=92=80=EB=A6=AC=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/storage/secure-storage.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/store/storage/secure-storage.ts b/src/store/storage/secure-storage.ts index 0db14cf..7f58358 100644 --- a/src/store/storage/secure-storage.ts +++ b/src/store/storage/secure-storage.ts @@ -22,7 +22,7 @@ const parseStoredValue = (value: string): StorageValue => { const stringifyStorageValue = (value: StorageValue): string => { const stringifyValue = JSON.stringify(value); - return clientEnv.ENV === "prod" ? Security.encryptBase64(stringifyValue) : stringifyValue; + return stringifyValue; }; export const setLocalStorage = (key: string, value: StorageValue): void => { @@ -46,8 +46,7 @@ export const getLocalStorage = (key: string): StorageValue => { try { return JSON.parse(storedValue); } catch (fallbackError) { - localStorage.removeItem(key); - console.warn("[storage] localStorage parse failed; removed corrupted value", { + console.warn("[storage] localStorage parse failed", { key, decryptError, fallbackError, @@ -90,8 +89,7 @@ export const getSessionStorage = (key: string): StorageValue => { try { return JSON.parse(storedValue); } catch (fallbackError) { - sessionStorage.removeItem(key); - console.warn("[storage] sessionStorage parse failed; removed corrupted value", { + console.warn("[storage] sessionStorage parse failed", { key, decryptError, fallbackError,