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

This commit is contained in:
Alex van Andel
2025-11-13 22:47:07 +00:00
committed by GitHub
parent 5ceda11a0b
commit b5dcc7a991
+1
View File
@@ -225,6 +225,7 @@ function enrichRequestWithHeaders({ req }: { req: NextRequest }) {
}
export const config = {
runtime: "nodejs",
matcher: ["/((?!_next(?:/|$)|static(?:/|$)|public(?:/|$)|favicon\\.ico$|robots\\.txt$|sitemap\\.xml$).*)"],
};