wp-graphql-cache icon indicating copy to clipboard operation
wp-graphql-cache copied to clipboard

Cached Response doesn't have Access Headers which cause error in JAMStack websites

Open withmukeshjoshi opened this issue 2 years ago • 0 comments

cached response missing required headers. In my case these headers were omitted from the real response Access-Control-Allow-Credentials: true Access-Control-Allow-Headers: Authorization, Content-Type, woocommerce-session, graphql_cors_settings Access-Control-Allow-Origin: websiteurl_ Access-Control-Expose-Headers: woocommerce-session

withmukeshjoshi avatar Jul 01 '22 13:07 withmukeshjoshi