mirror of
https://github.com/stoatchat/self-hosted.git
synced 2026-03-20 01:35:16 -05:00
fix: add .env.web generation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user