hexlet-correction
hexlet-correction copied to clipboard
Bug: widget does not contain CORS error handling
Summary
If we create a workspace, integrate the widget and try to use it on another domain, we will get an error in devtools, and the widget itself will not display anything
Reproduction steps
1. create a workspace
2. add the widget to your site with a domain that is not in the workspace
3. call the snippet and press send, see devtools
Expected result
the widget handles errors and displays them in a form
Actual result
No response on the form
Browsers
Chrome
OS
Linux