Usage:
const isValid = await isValidURL("http://mytest-domain.com", ["mytest-domain.com"])
// false
const isValid = await isValidURL("http://mytest.com", ["mytest-domain.com"])
// true
const isValid = await isValidURL("http://localhost:3000")
// false