Skip to content

Commit

Permalink
[frontend] Add /explore-rooms path to middleware (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
lim396 authored Feb 15, 2024
1 parent 8bef956 commit 371c388
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
);
}

Expand Down

0 comments on commit 371c388

Please sign in to comment.