Skip to content

Commit 27f300e

Browse files
feat: middleware in playground
1 parent 22d2e85 commit 27f300e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

playground/src/middleware.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import {
2-
authMiddleware,
3-
withAuth,
4-
} from "@kinde-oss/kinde-auth-nextjs/middleware";
1+
import {withAuth} from '@kinde-oss/kinde-auth-nextjs/middleware';
52

63
export default function middleware(req: Request) {
74
return withAuth(req);
85
}
96

107
export const config = {
11-
matcher: ["/dashboard"],
8+
matcher: ['/dashboard']
129
};

0 commit comments

Comments
 (0)