Skip to content

Commit b5dcc7a

Browse files
authored
fix: change edge runtime to prevent weird header override in unkey sdk (calcom#25140)
1 parent 5ceda11 commit b5dcc7a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/web/middleware.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ function enrichRequestWithHeaders({ req }: { req: NextRequest }) {
225225
}
226226

227227
export const config = {
228+
runtime: "nodejs",
228229
matcher: ["/((?!_next(?:/|$)|static(?:/|$)|public(?:/|$)|favicon\\.ico$|robots\\.txt$|sitemap\\.xml$).*)"],
229230
};
230231

0 commit comments

Comments
 (0)