We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bd0d4a commit d888f4dCopy full SHA for d888f4d
apps/dashboard/src/middleware.ts
@@ -31,7 +31,8 @@ export async function middleware(request: NextRequest) {
31
if (
32
!data?.user &&
33
newUrl.pathname !== "/" &&
34
- !newUrl.pathname.includes("/report")
+ !newUrl.pathname.includes("/report") &&
35
+ !newUrl.pathname.includes("/unsubscribe")
36
) {
37
const encodedSearchParams = `${newUrl.pathname.substring(1)}${
38
newUrl.search
0 commit comments