From 371c388bc906ab383fa149c25689c6863d745496 Mon Sep 17 00:00:00 2001 From: lim396 <90199432+lim396@users.noreply.github.com> Date: Thu, 15 Feb 2024 19:41:30 +0900 Subject: [PATCH] [frontend] Add /explore-rooms path to middleware (#259) --- frontend/middleware.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/middleware.ts b/frontend/middleware.ts index dfb3ca90..ec283154 100644 --- a/frontend/middleware.ts +++ b/frontend/middleware.ts @@ -7,7 +7,8 @@ function isPathProtected(path: string) { return ( path.startsWith("/user") || path.startsWith("/room") || - path.startsWith("/settings") + path.startsWith("/settings") || + path.startsWith("/explore-rooms") ); }