From e137d057a7a1bc43557a7a6f3ca05cd3cf8bf67b Mon Sep 17 00:00:00 2001 From: Josh Larson Date: Fri, 7 Feb 2025 16:30:05 -0500 Subject: [PATCH] fix: Put system status preview back behind basic auth (#2371) --- lib/dotcom_web/router.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dotcom_web/router.ex b/lib/dotcom_web/router.ex index c54bbadc6a..02083ee495 100644 --- a/lib/dotcom_web/router.ex +++ b/lib/dotcom_web/router.ex @@ -282,7 +282,7 @@ defmodule DotcomWeb.Router do scope "/preview", DotcomWeb do import Phoenix.LiveView.Router - pipe_through([:browser, :browser_live]) + pipe_through([:browser, :browser_live, :basic_auth_readonly]) live_session :system_status, layout: {DotcomWeb.LayoutView, :preview} do live "/system-status", Live.SystemStatus