Open carlbennettnz opened 6 years ago
The Access-Control-Allow-Origin header was already being set, but this adds Access-Control-Allow-Methods and Access-Control-Allow-Headers headers and prevents OPTIONS requests from 404ing.
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers
Whoops, looks like a dup of #13
The
Access-Control-Allow-Origin
header was already being set, but this addsAccess-Control-Allow-Methods
andAccess-Control-Allow-Headers
headers and prevents OPTIONS requests from 404ing.