This commit is contained in:
2017-02-23 07:52:30 +00:00
parent 2059fe78c2
commit b246e0f1ca
3 changed files with 9 additions and 10 deletions

7
app.js
View File

@@ -8,7 +8,6 @@ var fs = require('fs');
var zmrBot = require('./bot.js');
var app = express();
var port = process.env.PORT || 3000;
var sslPath = '/etc/letsencrypt/live/sao.twilightparadox.com/';
var options = {
@@ -32,8 +31,6 @@ app.use(function (err, req, res, next) {
var server = https.createServer(options, app);
var io = require('socket.io').listen(server);
server.listen(443);
app.listen(port, function () {
console.log('Slack bot listening on port ' + port);
server.listen(443, function () {
console.log('start server. Listening for port 443')
});