Add missing env vars

This commit is contained in:
rijkvanzanten
2020-12-04 18:01:22 -05:00
parent 52d4890b19
commit 6eef331b3c

View File

@@ -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.<br>**Defau
Whether or not to enable the CORS headers.<br>**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.<br>**Default: `GET,POST,PATCH,DELETE`**