Skip to content

Commit 36b8a53

Browse files
Juuldamenvicb
andauthored
fix: change platform proxy options order
Co-authored-by: Victor Berchet <[email protected]>
1 parent 0a100cf commit 36b8a53

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
@@ -258,8 +258,8 @@ async function getCloudflareContextFromWrangler<
258258
const { getPlatformProxy } = await import(/* webpackIgnore: true */ `${"__wrangler".replaceAll("_", "")}`);
259259
const { env, cf, ctx } = await getPlatformProxy({
260260
// This allows the selection of a wrangler environment while running in next dev mode
261-
environment: process.env.NEXT_DEV_WRANGLER_ENV,
262261
...options,
262+
environment: process.env.NEXT_DEV_WRANGLER_ENV,
263263
});
264264
return {
265265
env,

0 commit comments

Comments
 (0)