Redirect rooms to login

This commit is contained in:
2024-08-22 22:53:35 +02:00
parent 1501d8bf51
commit ef29913036
2 changed files with 6 additions and 1 deletions

View File

@@ -70,6 +70,10 @@ export const getFiefAuthMiddleware = async (url) => {
matcher: "/browse",
parameters: {},
},
{
matcher: "/rooms",
parameters: {},
},
];
return (await getFiefAuth(url))?.middleware(protectedPaths);
};