mlabs-haskell / nft-marketplace-server

2 stars 2 forks source link

simpleCors is insufficient (headers not available in browser) #23

Closed nrutledge closed 2 years ago

nrutledge commented 2 years ago

The current simpleCors policy is insufficient. The headers required for pagination, etc. are not accessible in the browser with this policy.

Custom response headers that must be in the corsExposedHeaders list:

The following request headers must also be allowed (may already be included in simpleCors):

Note: the other fields in the simpleCors policy appear to have good configurations, so we want to keep those as is for now.