Skip to content

Commit

Permalink
Whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceK33z committed Sep 20, 2016
1 parent 8310ecd commit c760ffc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var compress = require("compression");
var sockjs = require("sockjs");
var StreamCache = require("stream-cache");
var http = require("http");
var spdy = require("spdy");
var https = require("https");
var httpProxyMiddleware = require("http-proxy-middleware");
var serveIndex = require("serve-index");
var historyApiFallback = require("connect-history-api-fallback");
Expand Down Expand Up @@ -321,7 +321,7 @@ function Server(compiler, options) {
options.https.cert = options.https.cert || fs.readFileSync(path.join(__dirname, "../ssl/server.crt"));
options.https.ca = options.https.ca || fs.readFileSync(path.join(__dirname, "../ssl/ca.pem"));

this.listeningApp = spdy.createServer(options.https, app);
this.listeningApp = https.createServer(options.https, app);
} else {
this.listeningApp = http.createServer(app);
}
Expand Down

0 comments on commit c760ffc

Please sign in to comment.