Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Remove app.html layout from error templates (#6165)
Uku Tahtb498aeb07a87
diff --git a/lib/plausible_web/controllers/helpers.ex b/lib/plausible_web/controllers/helpers.exindex e66e91c554..a8ab6922f1 100644--- a/lib/plausible_web/controllers/helpers.ex+++ b/lib/plausible_web/controllers/helpers.ex@@ -4,6 +4,7 @@ defmodule PlausibleWeb.ControllerHelpers dodef render_error(conn, status, message) doconn+ |> put_root_layout(false)|> put_status(status)|> put_view(PlausibleWeb.ErrorView)|> render("#{status}.html", message: message, layout: error_layout())@@ -11,6 +12,7 @@ defmodule PlausibleWeb.ControllerHelpers dodef render_error(conn, status) doconn+ |> put_root_layout(false)|> put_status(status)|> put_view(PlausibleWeb.ErrorView)|> render("#{status}.html", layout: error_layout())