bipio-server / bipio

The bip.io API Server
https://bip.io
Apache License 2.0
873 stars 117 forks source link

Bug in sslSetup in setup.js #62

Closed alexander-akait closed 9 years ago

alexander-akait commented 9 years ago
      if (0 === sh(cmd)) {
        sparseConfig.proto_public = 'https://';
        sparseConfig.server.ssl.key = targetDir + '/server.key';
        sparseConfig.server.ssl.cert = targetDir + '/server.crt';
        corpusSyncSetup();
      } else {
        console.log('SSL Cert or Key generation failed');
        process.exit(0);
      }

sh return object with stdout, stdin, status

mjpearson commented 9 years ago

thanks! fixed in 0.4.32