Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

Fix middleware paths (#423)

Luke Vellafcb2d362c9eb
diff --git a/src/middleware.ts b/src/middleware.ts
index e6a4c75d2..6e8a1fbd4 100644
--- a/src/middleware.ts
+++ b/src/middleware.ts
@@ -54,9 +54,9 @@ export function middleware({ headers, cookies, nextUrl }: NextRequest) {
export const config = {
matcher: [
- "/admin/:id",
+ "/admin/:id*",
"/demo",
- "/p/:id",
+ "/p/:id*",
"/profile",
"/new",
"/login",