Skip to content

Commit

Permalink
fix: proxy vercel.json setting
Browse files Browse the repository at this point in the history
  • Loading branch information
jnnkk committed Sep 3, 2024
1 parent a487c3e commit b7d4639
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pages/Checklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down
8 changes: 8 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"rewrites": [
{
"source": "/api/:path*",
"destination": "https://www.koreaexim.go.kr/:path*"
}
]
}

0 comments on commit b7d4639

Please sign in to comment.