Introduces Vercel deployment support by adding Edge Function handlers in the api directory, Vercel configuration files, and related ignore rules. Updates documentation to include Vercel one-click deployment instructions and badges. Adds Vercel-specific scripts to package.json for development and deployment workflows.
25 lines
343 B
JSON
25 lines
343 B
JSON
{
|
|
"functions": {
|
|
"api/[...path].js": {
|
|
"runtime": "edge"
|
|
}
|
|
},
|
|
"headers": [
|
|
{
|
|
"headers": [
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "Xget on Vercel"
|
|
}
|
|
],
|
|
"source": "/(.*)"
|
|
}
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"destination": "/api/$1",
|
|
"source": "/(.*)"
|
|
}
|
|
]
|
|
}
|