Skip to content

Commit a211821

Browse files
committed
feat: add docs
1 parent 63336a1 commit a211821

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/settings.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
32
### Application Extension
43

54
The default `stac-fastapi-pgstac` application comes will **all** extensions enabled (except transaction). Users can use `ENABLED_EXTENSIONS` environment variable to limit the supported extensions.
@@ -16,7 +15,6 @@ Available values for `ENABLED_EXTENSIONS`:
1615

1716
Example: `ENABLED_EXTENSIONS="pagination,sort"`
1817

19-
2018
Since `6.0.0`, the transaction extension is not enabled by default. To add the transaction endpoints, users can set `ENABLE_TRANSACTIONS_EXTENSIONS=TRUE/YES/1`.
2119

2220
### Database config
@@ -60,5 +58,6 @@ In version `6.0.0` we've renamed the PG configuration variable to match the offi
6058
- `ROOT_PATH`: set application root-path (when using proxy)
6159
- `CORS_ORIGINS`: A list of origins that should be permitted to make cross-origin requests. Defaults to `*`
6260
- `CORS_METHODS`: A list of HTTP methods that should be allowed for cross-origin requests. Defaults to `"GET,POST,OPTIONS"`
61+
- `CORS_CREDENTIALS`: Set to `true` to enable credentials via CORS requests. Note that you'll need to set `CORS_ORIGINS` to something other than `*`, because credentials are [disallowed](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSNotSupportingCredentials) for wildcard CORS origins.
6362
- `USE_API_HYDRATE`: perform hydration of stac items within stac-fastapi
6463
- `INVALID_ID_CHARS`: list of characters that are not allowed in item or collection ids (used in Transaction endpoints)

0 commit comments

Comments
 (0)