Commit 8b035f4
docs: pages and server functions deploy as one unit; split only behind one origin
SSR calls server functions in-process with the request event, so the
server bundle is one deployment. A client-only build can put pages and
the function endpoint on different hosts, routed under one origin,
because server-function calls are same-origin by contract.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 1080b50 commit 8b035f4
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
0 commit comments