feat. 환경 세팅

This commit is contained in:
김채린
2025-09-09 03:34:09 +00:00
parent 52b2b6719b
commit 9581e5d356
119 changed files with 13160 additions and 86 deletions

15
layers/utils/jwtUtil.ts Normal file
View File

@@ -0,0 +1,15 @@
export const csrDecodedJWT = (base64EncodeVal: string) => {
const decodeVal = JSON.parse(
decodeURIComponent(
window
.atob(base64EncodeVal)
.split("")
.map(function (c) {
return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
})
.join("")
)
);
return decodeVal;
};