Skip to content

Commit

Permalink
Remove unused routes
Browse files Browse the repository at this point in the history
  • Loading branch information
vhande committed Feb 4, 2025
1 parent 1792126 commit 4a05fe8
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/middleware.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,5 @@ export const middleware = async (request: NextRequest) => {
};

export const config = {
matcher: [
'/',
'/event',
'/login',
'/organizers/:id/ownerships',
'/organizer/(.*)',
'/(.*)/ownerships',
'/search(.*)',
'/[...params]',
],
matcher: ['/', '/event', '/login'],
};

0 comments on commit 4a05fe8

Please sign in to comment.