Enabling CORS everywhere
julsraemy opened this issue · 1 comments
julsraemy commented
Currently, CORS headers are enabled within the info.json that SIPI delivers (access-control-allow-origin: *
) but they are not enabled in images and documents in server
. This is an important issue that needs to resolved.
subotic commented
also, having access-control-allow-origin
set to *
is a problem we have run into: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSNotSupportingCredentials
Basically, access-control-allow-origin
needs to always mirror the origin of the request.