const port = normalizePort(process.env.PORT || '3000');
const path = require('path');
const https = require('https');
const fs = require('fs');
const options = {
key: fs.readFileSync(path.join(__dirname, '../sslcert/server.key')),
cert: fs.readFileSync(path.join(__dirname, '../sslcert/server.pem'))
}
const server = https.createServer(options, app);