Created
January 27, 2024 08:59
-
-
Save kazi331/a1ba778846d64c03fb2facc1decafcde to your computer and use it in GitHub Desktop.
Add this file into the root of express server to deploy on vercel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 2, | |
"builds": [ | |
{ | |
"src": "app.js", | |
"use": "@vercel/node" | |
} | |
], | |
"routes": [ | |
{ | |
"src": "/(.*)", | |
"dest": "app.js", | |
"methods": ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment