Skip to content

Commit 7f00307

Browse files
generalize references to wrangler.toml in the wrangler api guide
1 parent 84eb1ed commit 7f00307

File tree

1 file changed

+3
-3
lines changed
  • src/content/docs/workers/wrangler

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ const platform = await getPlatformProxy(options);
252252

253253
The path to the config file to use.
254254

255-
If no path is specified the default behavior is to search from the current directory up the filesystem for a `wrangler.toml` to use.
255+
If no path is specified the default behavior is to search from the current directory up the filesystem for a[Wrangler configuration file](/workers/wrangler/configuration/) to use.
256256

257257
**Note:** this field is optional but if a path is specified it must point to a valid file on the filesystem.
258258

@@ -295,7 +295,7 @@ const platform = await getPlatformProxy(options);
295295

296296
### Usage
297297

298-
The `getPlatformProxy` function uses bindings found in `wrangler.toml`. For example, if you have an [environment variable](/workers/configuration/environment-variables/#add-environment-variables-via-wrangler) configuration set up in `wrangler.toml`:
298+
The `getPlatformProxy` function uses bindings found in [Wrangler configuration files](/workers/wrangler/configuration/). For example, if you have such an [environment variable](/workers/configuration/environment-variables/#add-environment-variables-via-wrangler) in your configuration:
299299

300300
import { WranglerConfig } from "~/components";
301301

@@ -326,7 +326,7 @@ This will print the following output: `MY_VARIABLE = test`.
326326

327327
### Supported bindings
328328

329-
All supported bindings found in your `wrangler.toml` are available to you via `env`.
329+
All supported bindings found in your [Wrangler configuration](/workers/wrangler/configuration/) are available to you via `env`.
330330

331331
The bindings supported by `getPlatformProxy` are:
332332

0 commit comments

Comments
 (0)