Skip to content

Commit 401d67a

Browse files
committed
review: Comment out STAC_API_URL by default in example config
1 parent 83e151e commit 401d67a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

serverless.example.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ provider:
2929
# PRE_HOOK: ${self:service}-${self:provider.stage}-preHook
3030
# API_KEYS_SECRET_ID: ${self:service}-${self:provider.stage}-api-keys
3131
# POST_HOOK: ${self:service}-${self:provider.stage}-postHook
32-
# If you will be subscribing to post-ingest SNS notifications make
33-
# sure that STAC_API_URL is set so that links are updated correctly
34-
STAC_API_URL: "https://some-stac-server.example.com"
32+
# Uncomment this if you will be subscribing to post-ingest SNS notifications
33+
# and need correct link hrefs in published the records or if you need to override
34+
# the default behavior of inferring the STAC API URL from request headers.
35+
# STAC_API_URL: "https://some-stac-server.example.com"
3536
CORS_ORIGIN: "https://ui.example.com"
3637
CORS_CREDENTIALS: true
3738
# Asset Proxy Environment Variables

0 commit comments

Comments
 (0)