Open tbcd opened 4 years ago
This PR adds a CORS Access-Control-Max-Age of 600 seconds to RPC pre-flight OPTIONS responses.
Access-Control-Max-Age
600
OPTIONS
Original issue #8542 was closed a year later as being implemented in https://github.com/paritytech/jsonrpc/pull/280, but that was (and still is) disabled by default, so this was never actually resolved.
The value of 600 seconds matches Geth's implementation.
Fixes #8542.
This PR adds a CORS
Access-Control-Max-Age
of600
seconds to RPC pre-flightOPTIONS
responses.Original issue #8542 was closed a year later as being implemented in https://github.com/paritytech/jsonrpc/pull/280, but that was (and still is) disabled by default, so this was never actually resolved.
The value of
600
seconds matches Geth's implementation.Fixes #8542.