From f0e8f0f11563bc5dcac498c24a6a0349d50af998 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 16 Nov 2025 01:49:33 +0000 Subject: [PATCH] completionId: cgen-e5d89c23b97a409486e3e46f3842286c cgen-e5d89c23b97a409486e3e46f3842286c --- vercel.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index fa08dce9..c9293773 100644 --- a/vercel.json +++ b/vercel.json @@ -4,9 +4,17 @@ "outputDirectory": "dist/spa", "functions": { "api/**/*.ts": { - "runtime": "@vercel/node@latest" + "runtime": "@vercel/node@3.2.15", + "includeFiles": "api/**/*.ts", + "excludeFiles": "**/*.test.ts,**/*.spec.ts" } }, + "env": { + "SUPABASE_URL": "@supabase_url", + "SUPABASE_SERVICE_ROLE": "@supabase_service_role", + "VITE_SUPABASE_URL": "@vite_supabase_url", + "VITE_SUPABASE_ANON_KEY": "@vite_supabase_anon_key" + }, "redirects": [ { "source": "/:path(.*)",