mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Redirect rooms to login
This commit is contained in:
@@ -70,6 +70,10 @@ export const getFiefAuthMiddleware = async (url) => {
|
||||
matcher: "/browse",
|
||||
parameters: {},
|
||||
},
|
||||
{
|
||||
matcher: "/rooms",
|
||||
parameters: {},
|
||||
},
|
||||
];
|
||||
return (await getFiefAuth(url))?.middleware(protectedPaths);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user