Skip to content

Commit

Permalink
Using existing component to handle toml file name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oxyjun committed Aug 22, 2024
1 parent 0011f72 commit cac3ed8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/content/docs/kv/concepts/kv-bindings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ When you use Wrangler to develop locally with the `wrangler dev` command, Wrangl

To have `wrangler dev` connect to your Workers KV namespace running on Cloudflare's global network, call `wrangler dev --remote` instead. This will use the `preview_id` of the KV binding configuration in the `wrangler.toml` file. This is how a `wrangler.toml` file looks with the `preview_id` specified.

```toml
---
filename: wrangler.toml
---
```toml title="wrangler.toml"
name = "worker"

# ...
Expand Down

0 comments on commit cac3ed8

Please sign in to comment.