local dev SSL always on (config not working)
This commit is contained in:
@ -559,7 +559,7 @@ nextApp
|
|||||||
});
|
});
|
||||||
|
|
||||||
//check if ssl is enabled
|
//check if ssl is enabled
|
||||||
if (process.env.SSL_ENABLED === "true" || 1 == 1) {
|
if (process.env.SSL_ENABLED === "true") {
|
||||||
console.log("SSL_ENABLED = true");
|
console.log("SSL_ENABLED = true");
|
||||||
// Redirect from http to https
|
// Redirect from http to https
|
||||||
// server.use((req, res, next) => {
|
// server.use((req, res, next) => {
|
||||||
|
Reference in New Issue
Block a user