From 5add5f44828fa03aef1465536016dc4f582802ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sun, 9 Nov 2025 04:45:48 +0100 Subject: [PATCH] fix: remove pre-compressed CSS files to serve updated custom theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated entrypoint-wrapper.sh to delete .css.gz files after injecting custom CSS. The web server was serving old pre-compressed files instead of our updated CSS with the Pivoine theme. Changes: - Remove app.css.gz and app-*.css.gz after CSS injection - Forces web server to serve uncompressed updated CSS files - Ensures custom Pivoine theme is visible on production 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- asciinema/entrypoint-wrapper.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/asciinema/entrypoint-wrapper.sh b/asciinema/entrypoint-wrapper.sh index 59afca2..9974e2f 100755 --- a/asciinema/entrypoint-wrapper.sh +++ b/asciinema/entrypoint-wrapper.sh @@ -10,6 +10,11 @@ if [ -f /opt/app/lib/asciinema-1.0.0/priv/static/assets/custom.css ]; then if [ -n "$CSS_FILE" ]; then cat /opt/app/lib/asciinema-1.0.0/priv/static/assets/custom.css >> "$CSS_FILE" echo "Custom CSS injected successfully" + + # Remove pre-compressed .gz files so updated CSS is served + rm -f /opt/app/lib/asciinema-1.0.0/priv/static/assets/app.css.gz + rm -f /opt/app/lib/asciinema-1.0.0/priv/static/assets/app-*.css.gz + echo "Removed pre-compressed CSS files to force serving updated version" fi fi