From 98aad8eca59b00b1543bf612a556a50da8f173d7 Mon Sep 17 00:00:00 2001 From: Amio Date: Sun, 5 Feb 2023 19:36:06 +0800 Subject: [PATCH] chore: limit fn memory to 256MB --- vercel.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vercel.json b/vercel.json index 503eb55..9b0732b 100644 --- a/vercel.json +++ b/vercel.json @@ -5,6 +5,11 @@ { "src": "/(?[^/]+).*", "dest": "/api/$name.ts" }, { "src": "/docs/(.*)", "status": 301, "headers": { "Location": "/$1" } } ], + "functions": { + "pages/api/**/*": { + "memory": 256 + } + }, "env": { "GH_TOKENS": "@badgen-gh-tokens", "SENTRY_DSN": "@badgen-sentry-dsn",