fis-kernel icon indicating copy to clipboard operation
fis-kernel copied to clipboard

修正 https 部署问题

Open fengqi opened this issue 9 years ago • 0 comments

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

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

fengqi avatar Sep 22 '16 02:09 fengqi