Hello,
The newly released OHIF plugin for Orthanc takes care of automatically adding the HTTP headers that are required for CORS communications between OHIF and Orthanc: https://discourse.orthanc-server.org/t/new-plugin-ohif/
Best Regards,
Sébastien-