Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

Cannot View Image in Production Mode

Open shtl23 opened this issue 9 years ago • 2 comments

Hi, While Building OHIF for Production, The Images are loaded in the Viewer Grid from the Orthanc Server, but I cannot View the image; DICOM Server is added manually to the Viewer as shown below in the screenshot: serverinfo_ohif_production ohif_prod_command_screenshot Below is the Screenshot for the Viewer ohif_prod_viewer1 How Do I fix this issue?

shtl23 avatar Aug 28 '17 13:08 shtl23

It looks like you must have built for production with the wrong ROOT_URL, since the viewer is trying to load the assets from http://localhost instead of http://localhost:3000. Try rebuilding and using ROOT_URL=http://localhost:3000

If you are running this with node, maybe you are missing the PORT environment variable?

swederik avatar Oct 19 '17 13:10 swederik

Thanks, it worked for me. I Rebuilt and used ROOT_URL=http://localhost:3000

shtl23 avatar Oct 25 '17 10:10 shtl23