CORS error during initialization of WebViewer - translation file

Hello Ihor,

Thank you for contacting Apryse Forums.

  1. Could you share the snippet of code used to initialize WebViewer in your application? Are you setting the language?
  2. How is CORS configured on your localhost server where the module federated component is hosted? How are the headers being set for Access-Control-Allow-Origin?
  3. If possible, please provide the headers from the network request for the translation-en.json or whichever language file.
  4. Any specific console error messages being displayed?

In addition, could you try the solution here?

Best Regards,
Darian

1 Like