Don't preview URLs to blocked hosts
Compare changes
- dakkar authored
`allSettled` does not throw if a promise is rejected, so `check_connect` never actually failed
What does this PR do?
Reject calls to /url
(the URL preview endpoint) if the requested URL points to a blocked host.
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines
`allSettled` does not throw if a promise is rejected, so `check_connect` never actually failed