mirror of
https://github.com/revoltchat/self-hosted.git
synced 2025-12-28 06:34:36 +00:00
fix: add .env.web generation
This commit is contained in:
parent
db5efd2097
commit
2a70f45c97
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user