Closed farooqbutt closed 11 months ago
I have done this but due to the CORS issue, I am not able to get the studies and series. so now how can I get the studies and series in OHIF Viwer? This is the issue.
my Orthanc server is running at localhost:8042 and I have configured the OHIF viewer default.js file to get data from Orthanc server but I m facing a CORS issue.
@farooqbutt - you need to use nginx to solve the CORS issue. There is a bunch of help on this in the OHIF and Orthanc documentation.
Here is an example docker-compose file that I'm using. That repo also contains the necessary nginx.conf file, and the ohif config js file. https://github.com/biskyt/OHIF_test/blob/master/docker-compose.yml
Basically, you tell OHIF to connect to the nginx endpoint, and nginx proxies the request through to orthanc. Hopefully that will help
Hey, I am also facing this issue. Using a docker-compose very similar to @biskyt I can see my files in the Orthanc web server, but they do not appear in the Ohif viewer How can I make sure my viewer is configured correctly?
@biskyt I´m getting stuck on the .env part of you docker-compose file. Any help?
We have couple of deployment recipes, you can look at them https://docs.ohif.org/deployment/
You need to update the app-config.js file that comes with the OHIF viewer to point to your Orthanac server's DICOMweb interface. See https://docs.ohif.org/configuring/