Skip to content

Commit

Permalink
Fix root
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Sep 18, 2024
1 parent c1837af commit 331ddef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/start
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -x
set -euo pipefail

export ROOT_URL=$(echo "${API_URL}" && grep -Po "[a-z]+\.[a-z]+$")
export ROOT_URL=$(echo "${API_URL}" | grep -Po "[a-z]+\.[a-z]+$")

memcached -d -u root
sed -i "s/API_URL/${API_URL}/g" /etc/nginx/nginx.conf
Expand Down

0 comments on commit 331ddef

Please sign in to comment.