Skip to content

Commit

Permalink
fix: cors for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Kpoke committed May 14, 2023
1 parent bda73da commit 1edd370
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deployment/overlays/development/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
bases:
patchesStrategicMerge:
- mapping.yaml
resources:
- ../../base
11 changes: 11 additions & 0 deletions deployment/overlays/development/mapping.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: getambassador.io/v2
kind: Mapping
metadata:
name: treetracker-wallet-api-v2
spec:
cors:
origins: '*'
methods: GET, POST, PATCH, OPTIONS
headers:
- Content-Type
- Authorization
9 changes: 9 additions & 0 deletions tmp/csv/49ae8462102517086b01a2eebf72eaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
wallet_name,token_transfer_amount_overwrite,extra_wallet_data_about,extra_wallet_data_logo_url,extra_wallet_data_cover_url
cruise,,,,https://picsum.photos/200
travolta,,,https://picsum.photos/200,
jogn,,John is awesome,,
tom,,,https://picsum.photos/200,https://picsum.photos/200
fishbourne,,Magnificent,https://picsum.photos/200,https://picsum.photos/200
lauren,,Awesome,https://picsum.photos/200,
Jackson5,,q,,https://picsum.photos/200
marshall,,,,
2 changes: 2 additions & 0 deletions tmp/csv/6848d12905b7697e6bb09aae6c773b38
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
wallet_name,token_transfer_amount_overwrite,extra_wallet_data_about,extra_wallet_data_logo_url,extra_wallet_data_cover_url
cruise1234567,,,,https://picsum.photos/200
4 changes: 4 additions & 0 deletions tmp/csv/df287e506d73d2d5b9a7a35b5411b003
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
wallet_name,token_transfer_amount_overwrite
cruise12345,
itachi,10
cruise123,
2 changes: 2 additions & 0 deletions tmp/csv/e2b089bda6b2bd971d9aecf02e5f34de
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
wallet_name,token_transfer_amount_overwrite,extra_wallet_data_about,extra_wallet_data_logo_url,extra_wallet_data_cover_url
cruise123,,,,https://picsum.photos/200

0 comments on commit 1edd370

Please sign in to comment.