From 9cdd502264551ab859ece33e34686a5f6f41c39b Mon Sep 17 00:00:00 2001 From: evertyang <112673124+evertyang@users.noreply.github.com> Date: Fri, 31 Jan 2025 05:02:00 -0600 Subject: [PATCH] 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. (file:///app/build/handler.js:1237:4) { status: 413, text: 'Payload Too Large' } --- documentation/docs/install/unraid.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/install/unraid.md b/documentation/docs/install/unraid.md index b41cd0f..c8726f6 100644 --- a/documentation/docs/install/unraid.md +++ b/documentation/docs/install/unraid.md @@ -65,7 +65,7 @@ docker network create example | `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` | | `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.\ [![/static/img/unraid-config-3.png](/unraid-config-3.png)](/unraid-config-3.png)