Adding assets to the media library

Hello,

I’m trying to upload images by urls, but get error

Content-Security-Policy: The page’s settings blocked the loading
of a resource (connect-src) at test.com… because «connect-src ‘self’ https: ws:»

How to fix it?

Thanks