Skip to content

Commit

Permalink
Merge pull request #1179 from johnduffell/patch-1
Browse files Browse the repository at this point in the history
point out that localhost urls are also fine
  • Loading branch information
dvoytenko committed Jan 4, 2016
2 parents 8eec93e + 4b628af commit 0e9b608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function assertHttpsUrl(urlString, elementContext) {
url.hostname.length - '.localhost'.length,
'%s source must start with ' +
'"https://" or "//" or be relative and served from ' +
'https. Invalid value: %s',
'either https or from localhost. Invalid value: %s',
elementContext, urlString);
return urlString;
}
Expand Down

0 comments on commit 0e9b608

Please sign in to comment.