diff --git a/lib/plausible_web/templates/error/error.html.eex b/lib/plausible_web/templates/error/error.html.eex index 16c87cc83..166198293 100644 --- a/lib/plausible_web/templates/error/error.html.eex +++ b/lib/plausible_web/templates/error/error.html.eex @@ -13,7 +13,7 @@

<%= @status %>

<%= @message %>
- <%= link("Go to the homepage", to: "/", class: "button mt-4") %> + <%= link("Go to the homepage", to: home_dest(@conn), class: "button mt-4") %>
diff --git a/lib/plausible_web/templates/layout/app.html.eex b/lib/plausible_web/templates/layout/app.html.eex index 34a0e6690..00bee5cb4 100644 --- a/lib/plausible_web/templates/layout/app.html.eex +++ b/lib/plausible_web/templates/layout/app.html.eex @@ -15,7 +15,7 @@ <%= render("_svg_icons.html") %>