You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -60,19 +60,19 @@ export default {
60
60
61
61
### out
62
62
63
-
The directory to build the server to. It defaults to`build` — i.e. `bun run start` would start the server locally after it has been created.
63
+
The directory to build the server to. Default:`build` — i.e. `bun run start` would start the server locally after it has been created.
64
64
65
65
### precompress
66
66
67
-
Enables precompressing using gzip and brotli for assets and prerendered pages. It defaults to`false`.
67
+
Enables precompressing using gzip and brotli for assets and prerendered pages. Default:`false`.
68
68
69
69
#### brotli
70
70
71
-
Enable brotli precompressing. It defaults to`false`.
71
+
Enable brotli precompressing. Default:`false`.
72
72
73
73
#### gzip
74
74
75
-
Enable gzip precompressing. It defaults to`false`.
75
+
Enable gzip precompressing. Default:`false`.
76
76
77
77
### development
78
78
@@ -90,6 +90,18 @@ Specify the port and host to listen on.
90
90
91
91
Default: `0.0.0.0`, `3000`
92
92
93
+
### `BODY_SIZE_LIMIT`
94
+
95
+
The maximum request body size to accept in bytes including while streaming.
96
+
97
+
Accepted inputs:
98
+
99
+
- Raw number in bytes, e.g. `1048576`.
100
+
- String with a unit suffix (`K`, `M`, `G`), e.g. `1M`.
101
+
- Literal string `"Infinity"` or number `0` to disable body size limit.
102
+
103
+
Default: `512K`
104
+
93
105
### `ORIGIN`, `PROTOCOL_HEADER` and `HOST_HEADER`
94
106
95
107
HTTP doesn't give SvelteKit a reliable way to know the URL that is currently being requested. The simplest way to tell SvelteKit where the app is being served is to set the `ORIGIN` environment variable.
0 commit comments