mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 02:06:34 +02:00
🐛 Fix redirect
This commit is contained in:
parent
1f58d55e38
commit
df9cc71002
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue