diff --git a/generate_config.sh b/generate_config.sh index 0693782..ff53702 100755 --- a/generate_config.sh +++ b/generate_config.sh @@ -1,7 +1,9 @@ #!/usr/bin/env bash +# set hostname for Caddy +echo "HOSTNAME=https://$1" > .env.web + # hostnames -echo "" >> Revolt.toml echo "[hosts]" >> Revolt.toml echo "app = \"https://$1\"" >> Revolt.toml echo "api = \"https://$1/api\"" >> Revolt.toml