hexlet-correction icon indicating copy to clipboard operation
hexlet-correction copied to clipboard

Bug: widget does not contain CORS error handling

Open fey opened this issue 8 months ago • 5 comments

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 image

Browsers

Chrome

OS

Linux

fey avatar Jun 14 '24 11:06 fey