Skip to content

Commit

Permalink
Fix incorrect parse for env binding
Browse files Browse the repository at this point in the history
  • Loading branch information
mnixry authored Mar 12, 2022
1 parent bf2bee9 commit 00e46e1
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 00e46e1

Please sign in to comment.