refactor(entrypoint): move HTTP/S message to javascript

This commit is contained in:
2021-07-23 23:45:58 -06:00
parent e83dce3304
commit 81cfe975b4
2 changed files with 5 additions and 3 deletions
-3
View File
@@ -99,7 +99,6 @@ if [ "$doServer" -eq 1 ]; then
# https pre-flight check
if [ "$enableHTTPS" = "true" ]; then
printf "[SSL/TLS mode enabled]\n"
certStatus="$(certificateCheckExist)"
case "$certStatus" in
noexist)
@@ -120,8 +119,6 @@ if [ "$doServer" -eq 1 ]; then
printf "[Certificate OK]\n"
;;
esac
else
printf "[HTTP mode enabled]\n"
fi
exec node livereload.js
exit "$?"