From 27876b32ae3a15ed3723294aefea6d7c59c1dad1 Mon Sep 17 00:00:00 2001 From: Taichi Kato Date: Sat, 30 May 2020 18:31:56 +0800 Subject: [PATCH] removed https --- server.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server.js b/server.js index 7e8407c..f7f0a8e 100644 --- a/server.js +++ b/server.js @@ -9,11 +9,11 @@ var twilio = require("twilio")(twillioAccountSID, twillioAuthToken); var express = require("express"); var app = express(); const fs = require('fs'); -var http = require("https").createServer({ - key: fs.readFileSync('/Users/khushjammu/certs/privkey.pem'), - cert: fs.readFileSync('/Users/khushjammu/certs/cert.pem') -}, app); -// var http = require("http").createServer(app); +// var http = require("https").createServer({ +// key: fs.readFileSync('/Users/khushjammu/certs/privkey.pem'), +// cert: fs.readFileSync('/Users/khushjammu/certs/cert.pem') +// }, app); +var http = require("http").createServer(app); var io = require("socket.io")(http); var path = require("path"); var public = path.join(__dirname, "public");