From 31e1fa5c5ce47bb603d3286e3d6eb77cbad0783a Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Sat, 20 Jul 2024 12:53:59 +0200 Subject: [PATCH] run-an-instance: remove slash from end of CORS_URL example it's somewhat misleading, since this specifies the origin (https://html.spec.whatwg.org/multipage/browsers.html#concept-origin-tuple) and not a full URL --- docs/run-an-instance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/run-an-instance.md b/docs/run-an-instance.md index a440d11d..1faafb91 100644 --- a/docs/run-an-instance.md +++ b/docs/run-an-instance.md @@ -57,7 +57,7 @@ sudo service nscd start | `API_URL` | ➖ | `https://api.cobalt.tools/` | changes url from which api server is accessible.
***REQUIRED TO RUN THE API***. | | `API_NAME` | `unknown` | `ams-1` | api server name that is shown in `/api/serverInfo`. | | `CORS_WILDCARD` | `1` | `0` | toggles cross-origin resource sharing.
`0`: disabled. `1`: enabled. | -| `CORS_URL` | not used | `https://cobalt.tools/` | cross-origin resource sharing url. api will be available only from this url if `CORS_WILDCARD` is set to `0`. | +| `CORS_URL` | not used | `https://cobalt.tools` | cross-origin resource sharing url. api will be available only from this url if `CORS_WILDCARD` is set to `0`. | | `COOKIE_PATH` | not used | `/cookies.json` | path for cookie file relative to main folder. | | `PROCESSING_PRIORITY` | not used | `10` | changes `nice` value* for ffmpeg subprocess. available only on unix systems. | | `FREEBIND_CIDR` | ➖ | `2001:db8::/32` | IPv6 prefix used for randomly assigning addresses to cobalt requests. only supported on linux systems. see below for more info. |