Skip to content

Commit

Permalink
Migrate to Vercel first
Browse files Browse the repository at this point in the history
MongoDB and Cloudflare Workers are not playing well at the moment
  • Loading branch information
Ru Chern Chong committed May 1, 2024
1 parent 6095a4f commit 87c91e4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
"type": "module",
"scripts": {
"dev": "sst dev --stage development",
"build": "sst build",
"deploy": "sst deploy",
"remove": "sst remove",
"console": "sst console",
"start": "vercel dev",
"deploy": "vercel",
"typecheck": "tsc --noEmit"
},
"dependencies": {
Expand Down
9 changes: 9 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"regions": ["sin1"],
"rewrites": [
{
"source": "/(.*)",
"destination": "/"
}
]
}

0 comments on commit 87c91e4

Please sign in to comment.