Enable CORS

Hi Francesco,

As your cornerstone app is requesting data from Orthanc on a different port, that causes a browser to make CORS requests. There 2 ways to fix this. You can configure nginx to serve both cornerstone and Orthanc on the same port and host. Or you can configure nginx to add the appropriate CORS responses https://enable-cors.org/server_nginx.html

Hope that helps.

James

Binary Logo

James Manners • Director
Suite 3, Level 2, 10 Queens Road, Melbourne, Victoria 3004, Australia

T: 03 9017 5230 M: 0422 973 235 E: james@binary.com.au W: binary.com.au