From 5e503e691fd3274eff8c756ca7fd2496c7e74ec8 Mon Sep 17 00:00:00 2001 From: Shin Hyuk Jun Date: Wed, 15 May 2024 23:28:19 +0900 Subject: [PATCH 1/3] =?UTF-8?q?0=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99=20=3D=20=EB=A9=94=EC=9D=B8=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=EB=A1=9C=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/Component/Page/Page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Component/Page/Page.js b/frontend/src/Component/Page/Page.js index 2ef3e244..468e751d 100644 --- a/frontend/src/Component/Page/Page.js +++ b/frontend/src/Component/Page/Page.js @@ -135,7 +135,7 @@ function Page() { if (pageIndex + 1 === pageInputValue) { return; } - const pageTargetID = pages[pageInputValue - 1]?.id; + const pageTargetID = pageInputValue == 0 ? pages[pageInputValue]?.id : pages[pageInputValue - 1]?.id; navigateToPage(pageTargetID); }; From cd064f4a6654f52f344f8a5c62a1c511c7b15938 Mon Sep 17 00:00:00 2001 From: Shin Hyuk Jun Date: Thu, 16 May 2024 11:25:22 +0900 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20=EB=AA=A8=EB=B0=94=EC=9D=BC=20?= =?UTF-8?q?=ED=99=98=EA=B2=BD=EC=97=90=EC=84=9C=20CSS=20=EB=8F=99=EC=A0=81?= =?UTF-8?q?=20=EB=B0=98=EC=9D=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/Component/Page/Page.js | 2 +- .../Component/Page/utils/hoverButtonPlugin.js | 43 ++++++++++++++----- 2 files changed, 34 insertions(+), 11 deletions(-) diff --git a/frontend/src/Component/Page/Page.js b/frontend/src/Component/Page/Page.js index 468e751d..8ec0cc08 100644 --- a/frontend/src/Component/Page/Page.js +++ b/frontend/src/Component/Page/Page.js @@ -938,7 +938,7 @@ function Page() { ))} - +
Date: Thu, 16 May 2024 11:26:00 +0900 Subject: [PATCH 3/3] =?UTF-8?q?setupProxy=20=EC=84=9C=EB=B2=84=20=EC=A3=BC?= =?UTF-8?q?=EC=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/setupProxy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/setupProxy.js b/frontend/src/setupProxy.js index 5be42f70..a9992379 100644 --- a/frontend/src/setupProxy.js +++ b/frontend/src/setupProxy.js @@ -4,8 +4,8 @@ module.exports = function(app) { app.use( '/api', createProxyMiddleware({ - target: 'http://localhost:8080', // 서버 URL or localhost:설정한포트번호 - //target: 'http://sharenote.shop:8080', // 서버 URL or localhost:설정한포트번호 + // target: 'http://localhost:8080', // 서버 URL or localhost:설정한포트번호 + target: 'http://sharenote.shop:8080', // 서버 URL or localhost:설정한포트번호 changeOrigin: true, }) );