add cors headers to http proxy

This commit is contained in:
terminal
2022-04-21 12:40:14 +03:00
parent 4f1216b14f
commit c3285354c1
8 changed files with 45 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ proxy:
host: 0.0.0.0
port: 8080
preserve-batch-order: true
cors-origin: "*"
cors-allowed-headers: "Content-Type"
routes:
- id: ethereum
blockchain: ethereum