don't re-add if array is tagged with __injected
这个提交包含在:
父节点
2990ddc1c3
当前提交
d4ee490253
@ -4096,4 +4096,6 @@ var cas = module.exports = [
|
||||
];
|
||||
module.exports.inject = function () {
|
||||
var opts = require('https').globalAgent.options;
|
||||
if (!opts.ca || opts.ca.length < 100) { opts.ca = (opts.ca||[]).concat(cas); }};
|
||||
if (!opts.ca || !opts.ca.__injected) { opts.ca = (opts.ca||[]).concat(cas); }
|
||||
opts.ca.__injected = true;
|
||||
};
|
||||
|
||||
正在加载...
x
在新工单中引用
屏蔽一个用户