diff --git a/src/options.js b/src/options.js index d787c93..867d5f8 100644 --- a/src/options.js +++ b/src/options.js @@ -115,7 +115,7 @@ function normalizeUrl(testUrl) { if (!parsed.protocol) { normalized = 'http://' + normalized; } - if (!validator.isURL(normalized, {require_protocol: true})) { + if (!validator.isURL(normalized, {require_protocol: true, require_tld: false})) { throw `Your Url: "${normalized}" is invalid!`; } return normalized;