From 6fd7c32669e3d8ede8b5b147c193a203f28ea42d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sun, 9 Nov 2025 09:12:41 +0100 Subject: [PATCH] fix: update theme paths to match new mount location --- asciinema/compose.yaml | 2 +- asciinema/custom.exs | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/asciinema/compose.yaml b/asciinema/compose.yaml index 3c42064..15ac611 100644 --- a/asciinema/compose.yaml +++ b/asciinema/compose.yaml @@ -8,7 +8,7 @@ services: volumes: - asciinema_data:/var/opt/asciinema - ./custom.exs:/opt/app/etc/custom.exs:ro - - ./theme:/opt/app/priv/static/theme:ro + - ./theme:/opt/app/priv/static/theme/custom:ro environment: SECRET_KEY_BASE: ${ASCIINEMA_SECRET_KEY} URL_HOST: ${ASCIINEMA_TRAEFIK_HOST} diff --git a/asciinema/custom.exs b/asciinema/custom.exs index c0601e6..c929124 100644 --- a/asciinema/custom.exs +++ b/asciinema/custom.exs @@ -16,14 +16,9 @@ config :asciinema, Asciinema.Emails.Mailer, versions: [:"tlsv1.2", :"tlsv1.3"] ] -# Serve custom theme files as static assets -config :asciinema, AsciinemaWeb.Endpoint, - static_url: [path: "/theme"], - check_origin: false - # Try to inject custom head HTML (if supported by asciinema) config :asciinema, AsciinemaWeb.Endpoint, extra_head_html: """ - - + + """