wiris / html-integrations

The official JavaScript library for MathType, the leading formula editor and equation writer for the web by Wiris
https://wiris.com/solutions/integrations/html-editors/
MIT License
76 stars 53 forks source link

fix(viewer): Fetch error on get configuration #985

Closed carla-at-wiris closed 4 months ago

carla-at-wiris commented 4 months ago

Description

During the QA process, a console error was spotted. The error is due to a URL fetching where, when it fails, we can assume that the client will be using cloud and when it does not fail, we can assume that they will be using on-premises with Java.

This error is not possible to be removed, since it's handled by the browser, but we still want to let the user know that it won't impact negatively in any way. That's why this PR adds a warning for the specified check.

Steps to reproduce

  1. Open the viewer demo and validate that the warning appears.