diff --git a/front/config/runtime.exs b/front/config/runtime.exs index 393ce95fa..593ef4ac0 100644 --- a/front/config/runtime.exs +++ b/front/config/runtime.exs @@ -183,3 +183,7 @@ config :front, System.get_env("SINGLE_TENANT") == "true" config :front, :edition, edition + +config :front, + :status_page_url, + System.get_env("STATUS_PAGE_URL") || "https://status.semaphore.io/" diff --git a/front/lib/front_web/templates/error/500.html.eex b/front/lib/front_web/templates/error/500.html.eex index 8ded0687e..dfacabd42 100644 --- a/front/lib/front_web/templates/error/500.html.eex +++ b/front/lib/front_web/templates/error/500.html.eex @@ -56,7 +56,7 @@

500

There’s a problem with Semaphore

-

Try again or check Semaphore Status →

+

Try again or check Semaphore Status →

diff --git a/front/lib/front_web/templates/layout/_page_header.html.eex b/front/lib/front_web/templates/layout/_page_header.html.eex index 1536ccdab..504645525 100644 --- a/front/lib/front_web/templates/layout/_page_header.html.eex +++ b/front/lib/front_web/templates/layout/_page_header.html.eex @@ -127,7 +127,7 @@ <%= support_requests_card(@conn, @layout_model) %> <%= render FrontWeb.LayoutView, "page_header/_menu_card.html", options: [target: "_blank", rel: "noopener"], - card_url: "https://status.#{Application.fetch_env!(:front, :domain)}", + card_url: Application.fetch_env!(:front, :status_page_url), card_title: "Status", card_description: "Live system health", tooltip: false %>