Skip to content

Commit

Permalink
fix last one?
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Oct 4, 2023
1 parent 53b57bb commit 25be93c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ fi

if [ "$FILTER_SET" = 1 ] && [ "$FILE_THERE" = 1 ]; then
CADDYFILE="$(sed "s|allow_countries.*|allow_countries $ALLOW_CONTRIES|;s|# import GEOFILTER| import GEOFILTER|" /Caddyfile)"
CADDYFILE="$(echo "$CADDYFILE" | sed "s|# import GEOFILTER| import GEOFILTER|")"
else
CADDYFILE="$(sed "s| import GEOFILTER|# import GEOFILTER|" /Caddyfile)"
fi
Expand Down

0 comments on commit 25be93c

Please sign in to comment.