mirror of
https://github.com/Lissy93/dashy.git
synced 2024-09-11 22:27:10 +03:00
Fix always true accident
This commit is contained in:
parent
6ee5286ebf
commit
a4e5402e5a
@ -12,7 +12,7 @@ const httpsCerts = {
|
||||
|
||||
const isDocker = !!process.env.IS_DOCKER;
|
||||
const SSLPort = process.env.SSL_PORT || (isDocker ? 443 : 4001);
|
||||
const redirectHttps = process.env.REDIRECT_HTTPS || true;
|
||||
const redirectHttps = process.env.REDIRECT_HTTPS ? process.env.REDIRECT_HTTPS : true;
|
||||
|
||||
const printNotSoGood = (msg) => {
|
||||
console.log(`SSL Not Enabled: ${msg}`);
|
||||
|
Loading…
Reference in New Issue
Block a user