2020-03-25 23:30:25 -04:00
|
|
|
//var server = require('./server');
|
|
|
|
//server.listen(process.env.nodeport);
|
|
|
|
|
|
|
|
var options = {
|
|
|
|
key: fs.readFileSync(process.env.wd + 'key.pem'),
|
|
|
|
cert: fs.readFileSync(process.env.wd + 'cert.pem'),
|
|
|
|
passprase: []
|
|
|
|
};
|
|
|
|
|
|
|
|
https.createServer(options, server).listen(process.env.nodeport, () => {
|
|
|
|
console.log('started on ' + process.env.nodeport)
|
|
|
|
});
|