Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修正 https 部署问题 #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

fengqi
Copy link

@fengqi fengqi commented Sep 22, 2016

uploaddownload 会使用 var http = opt.protocol === 'https:' ? require('https') : require('http'); 这样的语法判断引入的库

但是 opt = _.parseUrl(url, opt); 返回的没没有 protocol

`upload` 和 `download` 会使用 `var http = opt.protocol === 'https:' ? require('https') : require('http');` 这样的语法判断引入的库

但是 `opt = _.parseUrl(url, opt);` 返回的没没有 `protocol`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant