chore: limit fn memory to 256MB

pull/579/head
Amio 2023-02-05 19:36:06 +08:00
rodzic eafedd06bf
commit 98aad8eca5
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -5,6 +5,11 @@
{ "src": "/(?<name>[^/]+).*", "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",