Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Fix redirect
Luke Velladf9cc71002cb
diff --git a/apps/web/src/middleware.ts b/apps/web/src/middleware.tsindex 0a84e6549..9072ce163 100644--- a/apps/web/src/middleware.ts+++ b/apps/web/src/middleware.ts@@ -57,7 +57,7 @@ export const middleware = withAuth(nextUrl.pathname.startsWith("/login") ||nextUrl.pathname.startsWith("/register") ||nextUrl.pathname.startsWith("/auth") ||- nextUrl.pathname.startsWith("/p")+ nextUrl.pathname.startsWith("/p/"))) {// limit which pages guests can access for self-hosted instances