Skip to content

Commit 2b02f47

Browse files
Juuldamenvicb
authored andcommitted
fix: change platform proxy options order
Co-authored-by: Victor Berchet <[email protected]>
1 parent 417be7d commit 2b02f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cloudflare/src/api/cloudflare-context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ async function getCloudflareContextFromWrangler<
298298
const { getPlatformProxy } = await import(/* webpackIgnore: true */ `${"__wrangler".replaceAll("_", "")}`);
299299
const { env, cf, ctx } = await getPlatformProxy({
300300
// This allows the selection of a wrangler environment while running in next dev mode
301-
environment: process.env.NEXT_DEV_WRANGLER_ENV,
302301
...options,
302+
environment: process.env.NEXT_DEV_WRANGLER_ENV,
303303
});
304304
return {
305305
env,

0 commit comments

Comments
 (0)