Skip to content

Commit

Permalink
Fix pages binding
Browse files Browse the repository at this point in the history
  • Loading branch information
G4brym committed Dec 5, 2023
1 parent 23da6c0 commit 8e79be9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/wrangler/src/dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,7 @@ function getBindingsAndAssetPaths(args: StartDevOptions, configParam: Config) {
r2: args.r2,
services: args.services,
d1Databases: args.d1Databases,
ai: args.ai,
});

const maskedVars = maskVars(bindings, configParam);
Expand Down Expand Up @@ -896,7 +897,7 @@ function getBindings(
wasm_modules: configParam.wasm_modules,
text_blobs: configParam.text_blobs,
browser: configParam.browser,
ai: configParam.ai,
ai: configParam.ai || args.ai,
data_blobs: configParam.data_blobs,
durable_objects: {
bindings: [
Expand Down

0 comments on commit 8e79be9

Please sign in to comment.