Skip to content

Commit

Permalink
Update get-document-protocol.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Faris authored Jan 8, 2017
1 parent 2df2a5d commit 839e140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/get-document-protocol.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module.exports = getDocumentProtocol;

function getDocumentProtocol() {
return 'https';
return 'https:';
var protocol = window.document.location.protocol;

// when in `file:` mode (local html file), default to `http:`
Expand Down

0 comments on commit 839e140

Please sign in to comment.