Commit 1d49bfd
fix: remove
The `functions.api/index.js` pattern references a build artifact that doesn't
exist in the source tree. Vercel validates this pattern before the build runs,
causing: "The pattern 'api/index.js' doesn't match any Serverless Functions."
The per-function config (memory, maxDuration) is already exported from
server/index.ts via `export const config`, picked up by @vercel/node at deploy.
Agent-Logs-Url: https://github.com/objectstack-ai/spec/sessions/076a57ec-e7eb-4a6c-a6c7-78c947eaef28
Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>functions block from studio vercel.json to fix deployment pattern mismatch1 parent a14609e commit 1d49bfd
2 files changed
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
5 | 18 | | |
6 | 19 | | |
7 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 12 | | |
20 | 13 | | |
21 | 14 | | |
| |||
0 commit comments