Skip to content

vercel怎么设置超时为60秒 #16158

Answered by Whichbfj28
Whichbfj28 asked this question in Q&A
Discussion options

You must be logged in to vote

vercel.json修改为如下。添加一行

{
    "framework": null,
    "github": { "silent": true },
    "routes": [{ "src": "/.*", "dest": "/api/vercel.js" }],
    "functions": {"api/*": {"maxDuration": 60}}
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Whichbfj28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #16157 on July 13, 2024 04:23.