Thanks @wrightrocket!
This commit is contained in:
Patrick McGuire
2022-10-10 14:56:28 -04:00
committed by GitHub
parent 83166880ea
commit 070db9a4ff
+1 -1
View File
@@ -187,7 +187,7 @@ install_Caddyfile() {
cp /etc/caddy/Caddyfile{,.original}
fi
if ! [ -z ${CADDY_PWD} ];then
HASHWORD=$(caddy hash-password -plaintext ${CADDY_PWD})
HASHWORD=$(caddy hash-password --plaintext ${CADDY_PWD})
cat << EOF > /etc/caddy/Caddyfile
http:// ${BIRDNETPI_URL} {
root * ${EXTRACTED}