Skip to content

Commit

Permalink
add every routes to config.matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Jan 3, 2025
1 parent 8afd220 commit bc0a1f0
Showing 1 changed file with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions apps/web/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,36 +166,28 @@ export const config = {
"/api/auth/signup",
"/api/trpc/:path*",
"/login",
"/auth/login",
"/future/auth/login",
/**
* Paths required by routingForms.handle
*/
"/apps/routing_forms/:path*",

"/event-types",
"/future/event-types/",
"/apps/installed/:category/",
"/future/apps/installed/:category/",
"/apps/:slug/",
"/future/apps/:slug/",
"/apps/:slug/setup/",
"/future/apps/:slug/setup/",
"/apps/categories/",
"/future/apps/categories/",
"/apps/categories/:category/",
"/future/apps/categories/:category/",
"/auth/:path*",
"/apps/:path*",
"/event-types/:path*",
"/workflows/:path*",
"/getting-started/:path*",
"/apps",
"/bookings/:status/",
"/video/:path*",
"/teams",
"/future/teams/",
"/signup",
"/settings/:path*",
"/reschedule/:path*",
"/availability/:path*",
"/booking/:path*",
"/org/:path*",
"/team/:path*",
"/booking/:path*",
"/payment/:path*",
"/router/:path*",
"/routing-forms/:path*",
"/:user/:type/",
"/:user/",
],
};

Expand Down

0 comments on commit bc0a1f0

Please sign in to comment.