Update unraid.md
Variable appears to be in bytes not kilobytes. I got the following error assuming kilobytes:
SvelteKitError: Content-length of 4870507 exceeds limit of 30000 bytes.
at Object.start (file:///app/build/handler.js:984:19)
at setupReadableStreamDefaultController (node:internal/webstreams/readablestream:2333:23)
at setupReadableStreamDefaultControllerFromSource (node:internal/webstreams/readablestream:2366:3)
at new ReadableStream (node:internal/webstreams/readablestream:289:7)
at get_raw_body (file:///app/build/handler.js:973:9)
at getRequest (file:///app/build/handler.js:1054:7)
at Array.ssr (file:///app/build/handler.js:1248:19)
at handle (file:///app/build/handler.js:1318:23)
at file:///app/build/handler.js:1318:40
at Array.<anonymous> (file:///app/build/handler.js:1237:4) {
status: 413,
text: 'Payload Too Large'
}
This commit is contained in:
@@ -65,7 +65,7 @@ docker network create example
|
|||||||
| `WEB UI Port` | Yes | The port of the frontend. This is not a variable. | `8015` |
|
| `WEB UI Port` | Yes | The port of the frontend. This is not a variable. | `8015` |
|
||||||
| `PUBLIC_SERVER_URL` | Yes | What the frontend SSR server uses to connect to the backend. Change `IP_ADDRESS` to the name of the backend container. | `http://IP_ADDRESS:8000` |
|
| `PUBLIC_SERVER_URL` | Yes | What the frontend SSR server uses to connect to the backend. Change `IP_ADDRESS` to the name of the backend container. | `http://IP_ADDRESS:8000` |
|
||||||
| `ORIGIN` | Sometimes| Set to the URL you will access the frontend from, such as localhost with correct port, or set it to the domain of what you will access the app from. | `http://IP_ADDRESS:8015` |
|
| `ORIGIN` | Sometimes| Set to the URL you will access the frontend from, such as localhost with correct port, or set it to the domain of what you will access the app from. | `http://IP_ADDRESS:8015` |
|
||||||
| `BODY_SIZE_LIMIT` | Yes | Used to set the maximum upload size to the server. Should be changed to prevent someone from uploading too much! Custom values must be set in **kilobytes**. | `Infinity` |
|
| `BODY_SIZE_LIMIT` | Yes | Used to set the maximum upload size to the server. Should be changed to prevent someone from uploading too much! Custom values must be set in **bytes**. | `Infinity` |
|
||||||
|
|
||||||
- Here's some visual instructions of how to configure the frontend template, click the image to open larger version in new tab.\
|
- Here's some visual instructions of how to configure the frontend template, click the image to open larger version in new tab.\
|
||||||
[](/unraid-config-3.png)
|
[](/unraid-config-3.png)
|
||||||
|
|||||||
Reference in New Issue
Block a user