]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/commitdiff
do not blindly allow self-signed certs
authorJohannes Zellner <johannes@cloudron.io>
Thu, 9 Feb 2017 12:02:55 +0000 (13:02 +0100)
committerJohannes Zellner <johannes@cloudron.io>
Thu, 9 Feb 2017 12:02:55 +0000 (13:02 +0100)
cli/surfer.js

index 4c096d3bb18ab200a66de198f2fb8b4b2fa954c1..7c5ac8aef57d2a528782ea978e28c916ab09edbf 100755 (executable)
@@ -5,9 +5,6 @@
 var program = require('commander'),
     actions = require('./actions');
 
-// Allow self signed certs!
-process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
-
 program.version('0.1.0');
 
 program.command('login <url>')