make index.html customizable

This commit is contained in:
Girish Ramakrishnan
2020-09-21 14:30:05 -07:00
parent b4a4361bf8
commit 23f7a98154
3 changed files with 73 additions and 1 deletions

View File

@@ -38,6 +38,8 @@ if [[ ! -f /app/data/configs/homeserver.yaml ]]; then
fi
fi
[[ ! -f /app/data/index.html ]] && cp /app/pkg/index.html /app/data/index.html
echo "==> Configuring synapse"
yq w -i /app/data/configs/homeserver.yaml public_baseurl "${CLOUDRON_APP_ORIGIN}"