Skip to content

Commit

Permalink
vercel deployement
Browse files Browse the repository at this point in the history
  • Loading branch information
Madhav-Kanda committed Aug 7, 2024
1 parent 75a6a23 commit 14d8def
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "app.js",
"scripts": {
"develop": "node app.js",
"build:css": "tailwind build -i style.css -o public/css/style.css"
"build:css": "tailwind build -i style.css -o public/css/style.css",
"vercel-build": "node app.js"
},
"engines":{
"node": "20.x"
Expand Down
22 changes: 11 additions & 11 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"version": 2,
"builds": [
{
"src":"app.js",
"use":"@vercel/node"
}
{
"src": "app.js",
"use": "@vercel/node"
}
],
"routes":[
{
"src": "/(.*)",
"dest": "/"
}
"routes": [
{
"src": "/(.*)",
"dest": "app.js"
}
]
}

}

0 comments on commit 14d8def

Please sign in to comment.