From 5e128a41e5e3e3534324ce95a855609f73afcd75 Mon Sep 17 00:00:00 2001 From: Trezy Date: Fri, 08 May 2026 01:01:24 +0000 Subject: [PATCH] fix: replace the base path sentinel in next.js text files Signed-off-by: Trezy Signed-off-by: Trezy --- entrypoint.sh | 4 ++-- 1 file(s) changed, 2 insertion(s)(+), 2 deletion(s)(-) diff --git a/entrypoint.sh b/entrypoint.sh --- a/entrypoint.sh +++ b/entrypoint.sh @@ -18,11 +18,11 @@ # Strip trailing slash BP="${BP%/}" # Replace sentinel string in static files with actual base path - find "${STATIC}" -type f \( -name '*.html' -o -name '*.js' -o -name '*.css' \) \ + find "${STATIC}" -type f \( -name '*.html' -o -name '*.js' -o -name '*.css' -o -name '*.txt' \) \ -exec sed -i "s|${SENTINEL}|${BP}|g" {} + else # No base path: remove sentinel string from static files - find "${STATIC}" -type f \( -name '*.html' -o -name '*.js' -o -name '*.css' \) \ + find "${STATIC}" -type f \( -name '*.html' -o -name '*.js' -o -name '*.css' -o -name '*.txt' \) \ -exec sed -i "s|${SENTINEL}||g" {} + fi -- tangled.sh