This commit is contained in:
mcguirepr89
2022-02-06 09:26:38 -05:00
parent 07c029753b
commit d22cb246f3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -311,7 +311,7 @@ http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
EOF
fi
if [ ! -z ${WEBTERMINAL_URL} ] && [ -! z ${HASHWORD} ];then
if [ ! -z ${WEBTERMINAL_URL} ] && [ ! -z ${HASHWORD} ];then
cat << EOF >> /etc/caddy/Caddyfile
${WEBTERMINAL_URL} {
basicauth {
+1 -1
View File
@@ -300,7 +300,7 @@ http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
EOF
fi
if [ ! -z ${WEBTERMINAL_URL} ] && [ -! z ${HASHWORD} ];then
if [ ! -z ${WEBTERMINAL_URL} ] && [ ! -z ${HASHWORD} ];then
cat << EOF >> /etc/caddy/Caddyfile
${WEBTERMINAL_URL} {
basicauth {