Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

protocol http or file possible ?

Open IMP360 opened this issue 9 years ago • 3 comments

Hi,

I'm working on standalone viewer build with meteor-build-client. I trying to load local dicom images routed in my "api/files.json" with http/file protocol.

I have this message : "Access-Control-Allow-Origin"

I've read here (https://enable-cors.org/server_meteor.html) that i could configure Meteor. But i can't found where add this in this project...

Thank you for help.

IMP360 avatar Nov 02 '17 13:11 IMP360

You don't need to enable CORS on the Meteor server, you need to enable it wherever the images are being served from.

swederik avatar Nov 08 '17 07:11 swederik

You are right ! It works now.

In my virtualhost => Header set Access-Control-Allow-Origin "*"

Thank you.

IMP360 avatar Nov 08 '17 14:11 IMP360

Great!

swederik avatar Nov 08 '17 14:11 swederik