Skip to content

Commit

Permalink
Update src/content/partials/hyperdrive/create-hyperdrive-binding.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Jun Lee <junlee@cloudflare.com>
  • Loading branch information
thomasgauvin and Oxyjun authored Sep 23, 2024
1 parent 1ed0078 commit 02edd73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/content/partials/hyperdrive/create-hyperdrive-binding.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
{}

---

You must create a binding for your Worker to connect to your Hyperdrive configuration. [Bindings](/workers/runtime-apis/bindings/) allow your Workers to access resources, like D1, on the Cloudflare developer platform. You create bindings by updating your `wrangler.toml` file.

To bind your Hyperdrive configuration to your Worker, add the following to the end of your `wrangler.toml` file:
Expand Down

0 comments on commit 02edd73

Please sign in to comment.