Skip to content

Commit 00a3873

Browse files
committed
Catching more instances of wrangler.toml.
1 parent 5c81c43 commit 00a3873

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

src/content/docs/d1/examples/d1-and-remix.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To set up a new Remix site on Cloudflare Pages that can query D1:
2020

2121
1. **Refer to [the Remix guide](/pages/framework-guides/deploy-a-remix-site/)**.
2222
2. Bind a D1 database to your [Pages Function](/pages/functions/bindings/#d1-databases).
23-
3. Pass the `--d1 BINDING_NAME=DATABASE_ID` flag to `wrangler dev` when developing locally. `BINDING_NAME` should match what call in your code, and `DATABASE_ID` should match the `database_id` defined in your wrangler.toml: for example, `--d1 DB=xxxx-xxxx-xxxx-xxxx-xxxx`.
23+
3. Pass the `--d1 BINDING_NAME=DATABASE_ID` flag to `wrangler dev` when developing locally. `BINDING_NAME` should match what call in your code, and `DATABASE_ID` should match the `database_id` defined in your Wrangler configuration file: for example, `--d1 DB=xxxx-xxxx-xxxx-xxxx-xxxx`.
2424

2525
The following example shows you how to define a Remix [`loader`](https://remix.run/docs/en/main/route/loader) that has a binding to a D1 database.
2626

src/content/docs/d1/examples/d1-and-sveltekit.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ To set up a new SvelteKit site on Cloudflare Pages that can query D1:
2222
1. **Refer to [the SvelteKit guide](/pages/framework-guides/deploy-a-svelte-kit-site/) and Svelte's [Cloudflare adapter](https://kit.svelte.dev/docs/adapter-cloudflare)**.
2323
2. Install the Cloudflare adapter within your SvelteKit project: `npm i -D @sveltejs/adapter-cloudflare`.
2424
3. Bind a D1 database [to your Pages Function](/pages/functions/bindings/#d1-databases).
25-
4. Pass the `--d1 BINDING_NAME=DATABASE_ID` flag to `wrangler dev` when developing locally. `BINDING_NAME` should match what call in your code, and `DATABASE_ID` should match the `database_id` defined in your wrangler.toml: for example, `--d1 DB=xxxx-xxxx-xxxx-xxxx-xxxx`.
25+
4. Pass the `--d1 BINDING_NAME=DATABASE_ID` flag to `wrangler dev` when developing locally. `BINDING_NAME` should match what call in your code, and `DATABASE_ID` should match the `database_id` defined in your Wrangler configuration file: for example, `--d1 DB=xxxx-xxxx-xxxx-xxxx-xxxx`.
2626

2727
The following example shows you how to create a server endpoint configured to query D1.
2828

src/content/docs/d1/worker-api/d1-database.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To interact with your D1 database from your Worker, you need to access it throug
1111

1212
```js
1313
async fetch(request, env) {
14-
// D1 database is 'env.DB', where "DB" is the binding name from the Wrangler.toml file.
14+
// D1 database is 'env.DB', where "DB" is the binding name from the Wrangler configuration file.
1515
}
1616
```
1717

src/content/docs/hyperdrive/configuration/connect-to-postgres.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Create a new `Client` instance and pass the Hyperdrive parameters:
118118
import { Client } from "pg";
119119

120120
export interface Env {
121-
// If you set another name in wrangler.toml as the value for 'binding',
121+
// If you set another name in the Wrangler configuration file as the value for 'binding',
122122
// replace "HYPERDRIVE" with the variable name you defined.
123123
HYPERDRIVE: Hyperdrive;
124124
}

src/content/docs/queues/tutorials/web-crawler-with-browser-rendering/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ binding = "crawler_screenshots"
8282
id = "<GENERATED_NAMESPACE_ID>"
8383
```
8484

85-
### Add KV bindings to wrangler.toml
85+
### Add KV bindings to the Wrangler configuration file
8686

8787
Then, in your Wrangler file, add the following with the values generated in the terminal:
8888

src/content/docs/workers/languages/python/how-python-workers-work.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async def on_fetch(request, env):
2424
return Response.new("Hello world!")
2525
```
2626

27-
…with a wrangler.toml file that points to a .py file:
27+
…with a Wrangler configuration file that points to a .py file:
2828

2929
<WranglerConfig>
3030

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ export default fetch;
11581158

11591159
You can use module aliasing to provide your own polyfill implementation of a Node.js API that is not yet available in the Workers runtime.
11601160

1161-
For example, lets say the NPM package you rely on calls [`fs.readFile`](https://nodejs.org/api/fs.html#fsreadfilepath-options-callback). You can alias the fs module by adding the following to your Worker’s wrangler.toml:
1161+
For example, let's say the NPM package you rely on calls [`fs.readFile`](https://nodejs.org/api/fs.html#fsreadfilepath-options-callback). You can alias the fs module by adding the following to your Worker's Wrangler configuration file:
11621162

11631163
<WranglerConfig>
11641164

src/content/docs/workflows/examples/backup-d1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Here is a minimal package.json:
120120
}
121121
```
122122

123-
Here is a wrangler.toml:
123+
Here is a Wrangler configuration file:
124124

125125
<WranglerConfig>
126126

src/content/docs/workflows/examples/send-invoices.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Here's a minimal package.json:
201201
}
202202
```
203203

204-
And finally wrangler.toml:
204+
And finally Wrangler configuration file:
205205

206206
<WranglerConfig>
207207

src/content/partials/hyperdrive/use-postgresjs-to-make-query.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Create a new `sql` instance and pass the Hyperdrive parameters:
1414
import postgres from "postgres";
1515

1616
export interface Env {
17-
// If you set another name in wrangler.toml as the value for 'binding',
17+
// If you set another name in the Wrangler configuration file as the value for 'binding',
1818
// replace "HYPERDRIVE" with the variable name you defined.
1919
HYPERDRIVE: Hyperdrive;
2020
}

0 commit comments

Comments
 (0)