Fix deploying website

This commit is contained in:
DeathByDenim 2022-02-21 11:31:28 -05:00
parent a7dd35b23f
commit ab0061d6d8
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ done
for file in /var/www/html/*\.html; do
sed -i $file -e s/"HOSTEDBYNAME"/"${HOSTEDBYNAME}"/g
done
for file in ${webroot}/*\.html; do
for file in /var/www/html/*\.html; do
sed -i $file -e "/SERVERSTATE/r $(dirname "$0")/website/_state/online.html"
sed -i $file -e "/SERVERSTATE/d"
done