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: """
-
-
+
+
"""