Skip to content

Commit

Permalink
fix: update production cors
Browse files Browse the repository at this point in the history
  • Loading branch information
Kpoke committed Oct 24, 2023
1 parent 0762d79 commit 7d7d3aa
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
12 changes: 12 additions & 0 deletions deployment/overlays/production/mapping.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: getambassador.io/v2
kind: Mapping
metadata:
name: treetracker-wallet-api-v2
spec:
cors:
origins: 'https://prod-wallet-admin.treetracker.org'
methods: GET, POST, PATCH, OPTIONS
headers:
- content-type
- authorization
- treetracker-api-key
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2460,11 +2460,6 @@
"resolved" "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
"version" "1.0.0"

"fsevents@~2.3.2":
"integrity" "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA=="
"resolved" "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz"
"version" "2.3.2"

"function-bind@^1.1.1":
"integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
"resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz"
Expand Down

0 comments on commit 7d7d3aa

Please sign in to comment.