Skip to content

Commit 2c3418e

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

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
@@ -283,8 +283,8 @@ async function getCloudflareContextFromWrangler<
283283
const { getPlatformProxy } = await import(/* webpackIgnore: true */ `${"__wrangler".replaceAll("_", "")}`);
284284
const { env, cf, ctx } = await getPlatformProxy({
285285
// This allows the selection of a wrangler environment while running in next dev mode
286-
environment: process.env.NEXT_DEV_WRANGLER_ENV,
287286
...options,
287+
environment: process.env.NEXT_DEV_WRANGLER_ENV,
288288
});
289289
return {
290290
env,

0 commit comments

Comments
 (0)