From 6eef331b3c8013cbb052d1118171e837ce21ff03 Mon Sep 17 00:00:00 2001 From: rijkvanzanten Date: Fri, 4 Dec 2020 18:01:22 -0500 Subject: [PATCH] Add missing env vars --- docs/reference/environment-variables.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/reference/environment-variables.md b/docs/reference/environment-variables.md index 7b381050fb..9d2bd8f35e 100644 --- a/docs/reference/environment-variables.md +++ b/docs/reference/environment-variables.md @@ -65,7 +65,8 @@ extend the `DB_*` environment variables with any config you need to pass to the ### `DB_CONNECTION_STRING` (Postgres Only) -When using Postgres, you can submit a connection string instead of individual properties. Using this will ignore any of the other connection settings. +When using Postgres, you can submit a connection string instead of individual properties. Using this +will ignore any of the other connection settings. ## Security @@ -100,6 +101,14 @@ Value for `sameSite` in the refresh token cookie when in cookie mode.
**Defau Whether or not to enable the CORS headers.
**Default: `true`** +### `CORS_ORIGIN` + +Value for the `Access-Control-Allow-Origin` header. Possible values: + +- `true` - reflect the Origin header +- String - set the origin to a specific domain +- CSV - multiple domains + ### `CORS_METHODS` Value for the `Access-Control-Allow-Methods` header.
**Default: `GET,POST,PATCH,DELETE`**