local dev SSL always on (config not working)

This commit is contained in:
Dobromir Popov
2024-03-29 00:27:38 +02:00
parent c2a838100e
commit 89a2b65ff5

View File

@ -559,7 +559,7 @@ nextApp
});
//check if ssl is enabled
if (process.env.SSL_ENABLED === "true" || 1 == 1) {
if (process.env.SSL_ENABLED === "true") {
console.log("SSL_ENABLED = true");
// Redirect from http to https
// server.use((req, res, next) => {