diff --git a/lib/asciinema_web/controllers/page_controller.ex b/lib/asciinema_web/controllers/page_controller.ex index dce41244c..2b6050a89 100644 --- a/lib/asciinema_web/controllers/page_controller.ex +++ b/lib/asciinema_web/controllers/page_controller.ex @@ -8,7 +8,8 @@ defmodule AsciinemaWeb.PageController do conn, "about.html", page_title: "About", - contact_email_address: Application.get_env(:asciinema, :contact_email_address) + contact_email_address: Application.get_env(:asciinema, :contact_email_address), + server_name: AsciinemaWeb.Endpoint.host() ) end diff --git a/lib/asciinema_web/controllers/page_html/about.html.heex b/lib/asciinema_web/controllers/page_html/about.html.heex index 3797b057d..93aab72ee 100644 --- a/lib/asciinema_web/controllers/page_html/about.html.heex +++ b/lib/asciinema_web/controllers/page_html/about.html.heex @@ -1,7 +1,7 @@ -
- <%= @conn.host %> is a platform for hosting and sharing + <%= @server_name %> is a platform for hosting and sharing terminal session recordings, powered by asciinema server.
@@ -22,7 +22,7 @@