From 2a70f45c979d5d7b0cd2d0443eb435e48f7b7cec Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sun, 27 Oct 2024 21:45:02 +0000 Subject: [PATCH] fix: add .env.web generation --- generate_config.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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