Scheduling infrastructure for absolutely everyone.
wip (#19446)
Benny Joob6d8dc0bd6d6
diff --git a/apps/web/middleware.ts b/apps/web/middleware.tsindex c0aa834c7a0..34d6cc812e8 100644--- a/apps/web/middleware.ts+++ b/apps/web/middleware.ts@@ -16,7 +16,7 @@ const safeGet = async <T = any>(key: string): Promise<T | undefined> => {}};-export const POST_METHODS_ALLOWED_API_ROUTES = ["/api/auth/signup", "/api/trpc"];+export const POST_METHODS_ALLOWED_API_ROUTES = ["/api"];// Some app routes are allowed because "revalidatePath()" is used to revalidate the cache for themexport const POST_METHODS_ALLOWED_APP_ROUTES = ["/settings/my-account/general"];@@ -194,6 +194,10 @@ export const config = {"/booking/:path*","/payment/:path*","/routing-forms/:path*",+ "/team/:path*",+ "/org/:path*",+ "/:user/:type/",+ "/:user/",],};