diff --git a/next.config.js b/next.config.js index 01988199..5704bce6 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,4 @@ -const moduleExports = { +module.exports = { async rewrites() { return [ { diff --git a/vercel.json b/vercel.json index 8d1e6351..1cc72f6a 100644 --- a/vercel.json +++ b/vercel.json @@ -1,6 +1,6 @@ { "functions": { - "api/stripe/webhooks.ts": { + "api/stripe/webhooks": { "includeFiles": "node_modules/md-to-pdf/markdown.css" } }