Howard86 / next-api-handler

lightweight nextjs api handler wrapper, portable & configurable for serverless environment
https://next-api-handler.vercel.app
Other
50 stars 1 forks source link

Bugfix/fix show error options #7

Closed Howard86 closed 3 years ago

Howard86 commented 3 years ago

Bug fix: fix incorrect global var process.env.NODE

By default, showError will always be false

By default, showError should depend on process.env.NODE_ENV