Skip to content

Commit

Permalink
removed match from backoffice as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Lefteris Hytiroglou committed Nov 14, 2024
1 parent 093fe83 commit 7ce8c85
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/backoffice/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ import { type AJwtPayload } from '@repo/shared-types';
import { env } from './env.mjs';
import { AllRoles, UserStatus } from './graphql/generated/schema-server';

export const config = {
matcher: ['/((?!api|_next/static|_next/image|favicon.ico).*)'],
};

export async function middleware(request: NextRequest): Promise<NextResponse> {
const token = request.cookies.get(TOKEN_KEY)?.value;
const refreshToken = request.cookies.get(REFRESH_TOKEN_KEY)?.value;
Expand Down

0 comments on commit 7ce8c85

Please sign in to comment.