From 9f011d88efec44e4b3d174a386942a44fc9d349b Mon Sep 17 00:00:00 2001 From: devbini Date: Fri, 19 Sep 2025 00:58:36 +0900 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20csrf-token=20=EB=B3=B4=EA=B4=80=20?= =?UTF-8?q?=EB=B0=A9=EC=8B=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 서버 내 메모리 저장 부분 삭제 --- Back/routes/api.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Back/routes/api.js b/Back/routes/api.js index df98c3f..6617999 100644 --- a/Back/routes/api.js +++ b/Back/routes/api.js @@ -281,10 +281,7 @@ function authenticateToken(req, res, next) { // CSRF 토큰을 세션에 저장하고 재사용 router.get("/csrf-token", function (req, res) { - if (!req.session.csrfToken) { - req.session.csrfToken = req.csrfToken(); - } - res.json({ csrfToken: req.session.csrfToken }); + res.json({ csrfToken: req.csrfToken() }); }); module.exports = router; From 7cc4b2f0e38ca3e3b38dec8dab35896335288d0c Mon Sep 17 00:00:00 2001 From: devbini Date: Fri, 19 Sep 2025 01:17:48 +0900 Subject: [PATCH 2/3] =?UTF-8?q?design:=20review=20=EB=B0=95=EC=8A=A4=20?= =?UTF-8?q?=EC=83=81=ED=95=98=20=EB=86=92=EC=9D=B4=EC=A0=9C=ED=95=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Front/src/app/css/page.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Front/src/app/css/page.css b/Front/src/app/css/page.css index e653146..211cec8 100644 --- a/Front/src/app/css/page.css +++ b/Front/src/app/css/page.css @@ -107,6 +107,7 @@ h1 { .main-box-1 { flex: 1; max-width: 650px; + max-height: 70vh; } /* 오른쪽 컬럼 (리뷰) */ @@ -118,7 +119,7 @@ h1 { border-radius: var(--radius-lg); box-shadow: var(--shadow-medium); border: 1px solid var(--border-color); - max-height: 132.5vh; + max-height: 70vh; overflow-y: auto; } From 6403baf3df9c3cefe146a382d5fbabacc532bc08 Mon Sep 17 00:00:00 2001 From: devbini Date: Fri, 19 Sep 2025 01:19:35 +0900 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20Express=20=EC=97=90=EB=9F=AC=20?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Back/routes/api.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Back/routes/api.js b/Back/routes/api.js index 6617999..0ccfdb5 100644 --- a/Back/routes/api.js +++ b/Back/routes/api.js @@ -96,6 +96,7 @@ router.get("/getdatas", async function (req, res, next) { res.status(404).send("데이터 없음"); } } catch (err) { + console.error("데이터 읽기 오류:", err); res.status(500).send("서버 오류"); } }); @@ -222,7 +223,7 @@ router.post("/login", async function (req, res, next) { .json({ message: "아이디 또는 비밀번호가 잘못되었습니다." }); } } catch (err) { - console.error(err); + console.error("로그인 오류", err); res.status(500).send("서버 오류"); } });