From bc95b9f2b0ed5583c243585577cd04aaec487932 Mon Sep 17 00:00:00 2001 From: Sebastien Jourdain Date: Wed, 7 Aug 2024 15:57:58 -0600 Subject: [PATCH] chore(docker): TRAME_URL_PREFIX patch --- docker/scripts/runtime_patch.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/scripts/runtime_patch.sh b/docker/scripts/runtime_patch.sh index bc9bea78..efa9a992 100755 --- a/docker/scripts/runtime_patch.sh +++ b/docker/scripts/runtime_patch.sh @@ -38,4 +38,12 @@ then echo -e "$OUTPUT" > "${CONFIG_OUTPUT}" service apache2 restart + + # Fix index.html + FILE_TO_PATCH=/deploy/server/www/index.html + OUTPUT=$(<"${FILE_TO_PATCH}") + BASE_OLD='' + BASE_NEW="" + OUTPUT="${OUTPUT//$BASE_OLD/$BASE_NEW}" + echo -e "$OUTPUT" > "${FILE_TO_PATCH}" fi \ No newline at end of file