Skip to content

Commit 53764cf

Browse files
committed
refactor(vercel.json): remove framework definition and enhance functions configuration
1 parent 37c0f8e commit 53764cf

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

apps/studio/vercel.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://openapi.vercel.sh/vercel.json",
3-
"framework": "vite",
3+
"framework": null,
44
"installCommand": "cd ../.. && pnpm install",
55
"buildCommand": "cd ../.. && pnpm turbo run build --filter=@objectstack/studio && cd apps/studio && node scripts/bundle-api.mjs",
66
"outputDirectory": "dist",
@@ -10,6 +10,12 @@
1010
"VITE_SERVER_URL": "https://play.objectstack.ai"
1111
}
1212
},
13+
"functions": {
14+
"api/index.js": {
15+
"memory": 1024,
16+
"maxDuration": 60
17+
}
18+
},
1319
"rewrites": [
1420
{ "source": "/api/(.*)", "destination": "/api" },
1521
{ "source": "/((?!api/).*)", "destination": "/index.html" }

0 commit comments

Comments
 (0)