Add explicit serverless function configuration to vercel.json
cgen-91dba0831b8f4e8ab20850ac5bc6a38e
This commit is contained in:
parent
da296abc1f
commit
42e0d5e30e
1 changed files with 6 additions and 0 deletions
|
|
@ -2,6 +2,12 @@
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"buildCommand": "npm ci && npm run build",
|
"buildCommand": "npm ci && npm run build",
|
||||||
"outputDirectory": "dist/spa",
|
"outputDirectory": "dist/spa",
|
||||||
|
"functions": {
|
||||||
|
"api/**/*.ts": {
|
||||||
|
"memory": 1024,
|
||||||
|
"maxDuration": 60
|
||||||
|
}
|
||||||
|
},
|
||||||
"redirects": [
|
"redirects": [
|
||||||
{
|
{
|
||||||
"source": "/:path(.*)",
|
"source": "/:path(.*)",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue