From 2df2a5d4b7ad91d4d28803fe72771569084dd5e1 Mon Sep 17 00:00:00 2001 From: Faris Date: Mon, 9 Jan 2017 00:08:16 +0200 Subject: [PATCH] Update get-document-protocol.js --- src/browser/get-document-protocol.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/browser/get-document-protocol.js b/src/browser/get-document-protocol.js index 5dfa5ac51..3b24042a7 100644 --- a/src/browser/get-document-protocol.js +++ b/src/browser/get-document-protocol.js @@ -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:`