Commit c7ca406f authored by antoor's avatar antoor

Fix logical errors

修正逻辑错误
parent 6971508e
...@@ -595,7 +595,7 @@ Request.prototype.ca = function(cert){ ...@@ -595,7 +595,7 @@ Request.prototype.ca = function(cert){
* @return {[type]} [description] * @return {[type]} [description]
*/ */
Request.prototype.ignoreHttps = function(ignore) { Request.prototype.ignoreHttps = function(ignore) {
this._ignoreHttps = ignore || false; this._ignoreHttps = !ignore;
return this; return this;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment