Skip to content

Commit

Permalink
build: up vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
zhpd committed May 24, 2023
1 parent 76bc1f2 commit f1504a2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions service/vercel.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
{
"devCommand": "npm run dev",
"outputDirectory": "./dist/",
"builds": [
{
"src": "src/main.ts",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "dist/main.js",
"dest": "main.js",
"methods": ["GET", "POST", "PUT", "DELETE", "PATCH"],
"headers": {
"Access-Control-Allow-Credentials": "true",
Expand Down

2 comments on commit f1504a2

@vercel
Copy link

@vercel vercel bot commented on f1504a2 May 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on f1504a2 May 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.