Index: lib/synchronizer.js |
=================================================================== |
--- a/lib/synchronizer.js |
+++ b/lib/synchronizer.js |
@@ -211,17 +211,17 @@ var Synchronizer = exports.Synchronizer |
{ |
url = new URL(params.homepage); |
} |
catch (e) |
{ |
url = null; |
} |
- if (url && (url.protocol == "http" || url.protocol == "https")) |
+ if (url && (url.protocol == "http:" || url.protocol == "https:")) |
subscription.homepage = url.href; |
} |
if (params.title) |
{ |
subscription.title = params.title; |
subscription.fixedTitle = true; |
} |