Skip to content

Commit

Permalink
added vercel config
Browse files Browse the repository at this point in the history
  • Loading branch information
ZavNatalia committed Dec 20, 2024
1 parent d45aa52 commit 9937ea6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 2,
"builds": [
{
"src": "./index.js",
"use": "@vercel/node"
},
{
"src": "package.json",
"use": "@vercel/static-build",
"config": {
"distDir": "build"
}
}
],
"routes": [
{
"src": "/api/(.*)",
"dest": "index.js"
},
{
"src": "/(.*)",
"dest": "/index.html"
}
]
}

0 comments on commit 9937ea6

Please sign in to comment.