Skip to content

Commit

Permalink
Merge pull request #1208 from w3bdesign/develop
Browse files Browse the repository at this point in the history
Update middleware.ts
  • Loading branch information
w3bdesign authored Jun 19, 2024
2 parents 9fa5b08 + ad92a27 commit 2c19291
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions game/src/middleware.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//import { withClerkMiddleware } from "@clerk/nextjs/server";
// import { authMiddleware } from "@clerk/nextjs";
import { authMiddleware } from "@clerk/nextjs";
//import { NextResponse } from "next/server";

/*
Expand All @@ -8,15 +8,13 @@ export default withClerkMiddleware(() => {
});
*/

/*
export default authMiddleware({
// Routes that can be accessed while signed out
publicRoutes: ["/anyone-can-visit-this-route"],
// Routes that can always be accessed, and have
// no authentication information
ignoredRoutes: ["/no-auth-in-this-route"],
});
*/

export const config = {
matcher: [
Expand Down

0 comments on commit 2c19291

Please sign in to comment.