Skip to content

Commit d077389

Browse files
add localBindingsOnly option to getPlatformProxy documentation (and remove outdated remote bindings option)
1 parent f20204d commit d077389

File tree

1 file changed

+2
-4
lines changed
  • src/content/docs/workers/wrangler

1 file changed

+2
-4
lines changed

src/content/docs/workers/wrangler/api.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,9 @@ const platform = await getPlatformProxy(options);
300300

301301
**Note:** If you use `wrangler`'s `--persist-to` option, note that this option adds a subdirectory called `v3` under the hood while `getPlatformProxy`'s `persist` does not. For example, if you run `wrangler dev --persist-to ./my-directory`, to reuse the same location using `getPlatformProxy`, you will have to specify: `persist: { path: "./my-directory/v3" }`.
302302

303-
- `experimental` `{ remoteBindings: boolean }`
303+
- `localBindingsOnly` boolean
304304

305-
Object used to enable experimental features, no guarantees are made to the stability of this API, use at your own risk.
306-
307-
- `remoteBindings` Enables `getPlatformProxy` to connect to [remote bindings](/workers/development-testing/#remote-bindings).
305+
When set to `true` disables the remote aspect of [remote bindings](/workers/development-testing/#remote-bindings), in the exact same way as if their `remote` configuration was set to `false`. Defaults to `false`.
308306

309307
### Return Type
310308

0 commit comments

Comments
 (0)