diff --git a/server.js b/server.js index 212f14a..5531ae4 100644 --- a/server.js +++ b/server.js @@ -9,7 +9,7 @@ app = express(); app.use(serveStatic(__dirname + "/dist")); // enable ssl redirect -app.use(sslRedirect()); +app.use(sslRedirect(['other','development', 'staging', 'production'])); var port = process.env.PORT || 8080; app.listen(port);