Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Update router (#6418)

Adam Rutkowskibd26da81d694
diff --git a/lib/plausible_web/router.ex b/lib/plausible_web/router.ex
index 1af5d5d2d2..aea99bae0c 100644
--- a/lib/plausible_web/router.ex
+++ b/lib/plausible_web/router.ex
@@ -124,12 +124,9 @@ defmodule PlausibleWeb.Router do
end
on_ee do
- live_session :flags,
- on_mount: PlausibleWeb.Live.SuperAdminLiveAuth do
- scope path: "/flags" do
- pipe_through :flags
- forward "/", FunWithFlags.UI.Router, namespace: "flags"
- end
+ scope path: "/flags" do
+ pipe_through :flags
+ forward "/", FunWithFlags.UI.Router, namespace: "flags"
end
end