Skip to content

Commit

Permalink
fix(cloudflare): use the code for the geolocation region (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb authored Nov 8, 2024
1 parent 44f3678 commit 9cfe371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/open-next/src/overrides/wrappers/cloudflare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { MiddlewareOutputEvent } from "../../core/routingHandler";
const cfPropNameToHeaderName = {
city: "x-open-next-city",
country: "x-open-next-country",
region: "x-open-next-region",
regionCode: "x-open-next-region",
latitude: "x-open-next-latitude",
longitude: "x-open-next-longitude",
};
Expand Down

0 comments on commit 9cfe371

Please sign in to comment.