From 1a5a11e3e45fe53984854bc0572ee69f387c23aa Mon Sep 17 00:00:00 2001 From: Kristian Polso Date: Thu, 29 Mar 2018 09:28:54 +0300 Subject: [PATCH] Define Heroku SSL environments --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);