Added some code review fixes
This commit is contained in:
parent
b58b0d0f95
commit
67279bbda8
1 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ $cli
|
||||||
Console::log('🟢 CNAME target has a public suffix ('.$domain->get().')');
|
Console::log('🟢 CNAME target has a public suffix ('.$domain->get().')');
|
||||||
}
|
}
|
||||||
|
|
||||||
if(App::getEnv('_APP_OPENSSL_KEY_V1', 'your-secret-key') === 'your-secret-key' || empty(App::getEnv('_APP_OPENSSL_KEY_V1', 'your-secret-key'))) {
|
if(App::getEnv('_APP_OPENSSL_KEY_V1') === 'your-secret-key' || empty(App::getEnv('_APP_OPENSSL_KEY_V1'))) {
|
||||||
Console::log('🔴 Using a unique secret key for encryption');
|
Console::log('🔴 Using a unique secret key for encryption');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -54,7 +54,7 @@ $cli
|
||||||
Console::log('🟢 App enviornment is set for production');
|
Console::log('🟢 App enviornment is set for production');
|
||||||
}
|
}
|
||||||
|
|
||||||
if(App::getEnv('_APP_OPTIONS_ABUSE', 'disabled') === 'disabled' || empty(App::getEnv('_APP_OPTIONS_ABUSE', 'disabled'))) {
|
if('enabled' !== App::getEnv('_APP_OPTIONS_ABUSE', 'disabled')) {
|
||||||
Console::log('🔴 Abuse protection is enabled');
|
Console::log('🔴 Abuse protection is enabled');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -75,7 +75,7 @@ $cli
|
||||||
Console::log('🟢 Console access limits are enabled');
|
Console::log('🟢 Console access limits are enabled');
|
||||||
}
|
}
|
||||||
|
|
||||||
if('disabled' === App::getEnv('_APP_OPTIONS_FORCE_HTTPS', 'disabled') || empty(App::getEnv('_APP_OPTIONS_FORCE_HTTPS', 'disabled'))) {
|
if('enabled' !== App::getEnv('_APP_OPTIONS_FORCE_HTTPS', 'disabled')) {
|
||||||
Console::log('🔴 HTTPS force option is disabled');
|
Console::log('🔴 HTTPS force option is disabled');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue