зеркало из https://github.com/mozilla/MozDef.git
Merge pull request #1116 from mozilla/revert-1104-fix_node_tls_reject_warning
Revert "Re-enable node tls reject check in meteor"
This commit is contained in:
Коммит
ad947dbd86
|
@ -11,6 +11,8 @@ import '/imports/models.js';
|
|||
if (Meteor.isServer) {
|
||||
|
||||
Meteor.startup(function () {
|
||||
// Since we only connect to localhost or to ourselves, adding a hack to bypass cert validation
|
||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
|
||||
// We don't use websockets, turn 'em off to make for a faster startup
|
||||
process.env.DISABLE_WEBSOCKETS = "1";
|
||||
console.log("MozDef starting")
|
||||
|
|
Загрузка…
Ссылка в новой задаче