Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
devvsakib committed Jul 27, 2024
1 parent bd27880 commit 9d9f447
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 33 deletions.
23 changes: 0 additions & 23 deletions api/index.js

This file was deleted.

16 changes: 6 additions & 10 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"version": 2,
"builds": [
{ "src": "api/index.js", "use": "@vercel/node" },
{ "src": "public/**/*", "use": "@vercel/static" }
],
"routes": [
{ "src": "/api/(.*)", "dest": "/api/index.js" },
{ "src": "/(.*)", "dest": "/public/$1" }
"rewrites": [
{
"source": "/(.*)",
"destination": "/"
}
]
}

}

0 comments on commit 9d9f447

Please sign in to comment.