Skip to content

Commit

Permalink
Fix incorrect parse for env binding (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnixry authored Mar 16, 2022
1 parent 6be530b commit 0f66675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wrangler/src/pages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ export const pages: BuilderCallback<unknown, unknown> = (yargs) => {
// User bindings
bindings: {
...Object.fromEntries(
bindings.map((binding) => binding.toString().split("="))
bindings.map((binding) => binding.toString().split("=", 1))
),
},

Expand Down

0 comments on commit 0f66675

Please sign in to comment.