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 00ca65a commit 2df2a5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/browser/get-document-protocol.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module.exports = getDocumentProtocol;

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

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

0 comments on commit 2df2a5d

Please sign in to comment.