Created
May 6, 2023 09:17
-
-
Save Mix-Liten/7a1ffc9e3b4b2061724c4bc4640c7859 to your computer and use it in GitHub Desktop.
when deploy project that include backend server to Vercel, should need this configuration file.
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": "./index.js", | |
"use": "@vercel/node" | |
} | |
], | |
"routes": [ | |
{ | |
"src": "/(.*)", | |
"dest": "/" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment