CodeChain-io / jsonrpc-filter

A proxy server that allows the only subsets of the RPCs
GNU Affero General Public License v3.0
4 stars 6 forks source link

BAD GATEWAY for preflight requests #3

Closed joojis closed 5 years ago

joojis commented 5 years ago

image

sgkim126 commented 5 years ago

Thank you for report @joojis. Would you use https://github.com/CodeChain-io/codechain-proxy until fixing it? It works slightly different. The proxy rewrites the whole request to CodeChain node but this program forwards the request without modification to CodeChain node and adds Access-Control-Allow-Origin to the response. I think this behavior change causes this error.