From 331ddef33055f13707ab28ebd5041091bdd9d484 Mon Sep 17 00:00:00 2001 From: ingalls Date: Wed, 18 Sep 2024 09:44:38 -0600 Subject: [PATCH] Fix root --- api/start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/start b/api/start index a48a08f01..a71f0881e 100755 --- a/api/start +++ b/api/start @@ -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