Skip to content

Commit

Permalink
Update next.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan-Hill committed Jan 6, 2021
1 parent c2b2a69 commit ff018ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ module.exports = withCSS({
}
return config;
},
functions: {
'api/**/*.js': {
maxDuration: 30,
},
},
});

1 comment on commit ff018ee

@vercel
Copy link

@vercel vercel bot commented on ff018ee Jan 6, 2021

Choose a reason for hiding this comment

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

Deployment failed with the following error:

The value for maxDuration must be between 1 second and 10 seconds, in order to increase this limit upgrade your plan: https://vercel.com/pricing

Please sign in to comment.