이민호

run with https

...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
6 6
7 var app = require("../app"); 7 var app = require("../app");
8 var debug = require("debug")("screensaver:server"); 8 var debug = require("debug")("screensaver:server");
9 +var http = require("http");
9 const fs = require("fs"); 10 const fs = require("fs");
10 const path = require("path"); 11 const path = require("path");
11 const HTTPS = require("https"); 12 const HTTPS = require("https");
...@@ -56,7 +57,7 @@ app.set("port", port); ...@@ -56,7 +57,7 @@ app.set("port", port);
56 * Create HTTP server. 57 * Create HTTP server.
57 */ 58 */
58 59
59 -var server = HTTPS.createServer(app); 60 +var server = http.createServer(app);
60 61
61 /** 62 /**
62 * Listen on provided port, on all network interfaces. 63 * Listen on provided port, on all network interfaces.
......