We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bdf0233 + 02e6a04 commit 00265c7Copy full SHA for 00265c7
bin/shtool.sh
@@ -39,7 +39,7 @@ function setup_letsencrypt #description 'Set up Lets Encrypt certificates for Tr
39
chmod 600 "$LETSENCRYPT_DIR"
40
chmod 600 "$LOGS_DIR/access.log"
41
42
- BASE_DOMAIN=$(extract_domain "${DOMAIN}")
+ BASE_DOMAIN="${DOMAIN}"
43
44
else
45
BASE_DOMAIN="localhost"
bin/tools.sh
@@ -22,10 +22,6 @@ tail_logs() {
22
docker compose logs -f --no-color 2>&1 | sed "s/^/[$app] /"
23
}
24
25
-extract_domain() {
26
- echo "$1" | sed -E 's/.*\.([^.]+\.[^.]+\.[^.]+)$/\1/; t; s/.*\.([^.]+\.[^.]+)$/\1/'
27
-}
28
-
29
add_key_in_env() {
30
local KEY=$1
31
local VALUE=$2
0 commit comments