Skip to content

Scheduling infrastructure for absolutely everyone.

fix: change edge runtime to prevent weird header override in unkey sdk (#25140)

Alex van Andelb5dcc7a99128
diff --git a/apps/web/middleware.ts b/apps/web/middleware.ts
index dfbe1ed52fa..007ba7311fc 100644
--- a/apps/web/middleware.ts
+++ b/apps/web/middleware.ts
@@ -225,6 +225,7 @@ function enrichRequestWithHeaders({ req }: { req: NextRequest }) {
}
export const config = {
+ runtime: "nodejs",
matcher: ["/((?!_next(?:/|$)|static(?:/|$)|public(?:/|$)|favicon\\.ico$|robots\\.txt$|sitemap\\.xml$).*)"],
};