From b7d463998dc55fe2d34e6f58df5b9ddbc538dc2c Mon Sep 17 00:00:00 2001 From: SJY Date: Wed, 4 Sep 2024 03:53:31 +0900 Subject: [PATCH] fix: proxy vercel.json setting --- src/pages/Checklist.js | 1 - vercel.json | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 vercel.json diff --git a/src/pages/Checklist.js b/src/pages/Checklist.js index d2ec171..e78b75f 100644 --- a/src/pages/Checklist.js +++ b/src/pages/Checklist.js @@ -14,7 +14,6 @@ function Checklist() { const day = (today.getDate()-1).toString().padStart(2, '0'); // yyyymmdd 형식으로 변환 const currentDate = year + month + day; - console.log("currentDate: " + currentDate); useEffect(() => { const fetchUsers = async () => { diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..b5a1470 --- /dev/null +++ b/vercel.json @@ -0,0 +1,8 @@ +{ + "rewrites": [ + { + "source": "/api/:path*", + "destination": "https://www.koreaexim.go.kr/:path*" + } + ] +} \ No newline at end of file