fix issue with loading https spec. See https://github.com/Rebilly/ReDoc/issues/243

This commit is contained in:
Khoa Tran 2017-04-10 17:50:21 +10:00 committed by Roman Hotsiy
parent 8af268e69b
commit 585b9cfb56
3 changed files with 6 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module.exports = function (options) {
extensions: ['.ts', '.js', '.json', '.css'],
alias: {
http: 'stream-http',
https: 'stream-http'
https: 'https-browserify'
}
},

View File

@ -74,6 +74,7 @@
"dropkickjs": "^2.1.10",
"hint.css": "^2.3.2",
"http-server": "^0.9.0",
"https-browserify": "^1.0.0",
"istanbul-instrumenter-loader": "^2.0.0",
"jasmine-core": "^2.4.1",
"jasmine-spec-reporter": "^3.1.0",

View File

@ -2369,6 +2369,10 @@ https-browserify@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-0.0.1.tgz#3f91365cabe60b77ed0ebba24b454e3e09d95a82"
https-browserify@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
https-proxy-agent@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-1.0.0.tgz#35f7da6c48ce4ddbfa264891ac593ee5ff8671e6"