From 29b14a90c83991e2e0dcea210827fd0e69eb4cf3 Mon Sep 17 00:00:00 2001 From: "Zachariah K. Sharma" Date: Mon, 8 Jun 2026 08:47:02 -0600 Subject: [PATCH] Replace lowercase webapp URL placeholder --- scripts/replace-placeholder.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/replace-placeholder.sh b/scripts/replace-placeholder.sh index 2e85281943..9ac92bd857 100644 --- a/scripts/replace-placeholder.sh +++ b/scripts/replace-placeholder.sh @@ -11,3 +11,10 @@ echo "Replacing all statically built instances of $FROM with $TO." for file in $(egrep -r -l "${FROM}" apps/web/.next/ apps/web/public/); do sed -i -e "s|$FROM|$TO|g" "$file" done + +LOWER_FROM=$(printf "%s" "$FROM" | tr "[:upper:]" "[:lower:]") +if [ "${LOWER_FROM}" != "${FROM}" ]; then + for file in $(egrep -r -l "${LOWER_FROM}" apps/web/.next/ apps/web/public/); do + sed -i -e "s|$LOWER_FROM|$TO|g" "$file" + done +fi