Skip to content

Commit c125360

Browse files
don't specifically mention a json-to-toml site
1 parent 25807d8 commit c125360

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

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

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ As of Wrangler v3.91.0 Wrangler supports both JSON (`wrangler.json` or `wrangler
2121
Prior to that version, only `wrangler.toml` was supported.
2222

2323
The format of Wrangler's configuration file is exactly the same across both languages, only the syntax differs.
24-
You can also easily switch between the two, there are many online converters for that such as: [toml2jsonConverter](https://esakat.github.io/toml2jsonConverter).
24+
25+
You can use one of the many available online converters to easily switch between the two.
2526

2627
Throughout this page and the rest of Cloudflare's documentation, configuration snippets are provided as both JSON and TOML.
2728

@@ -1306,17 +1307,17 @@ A common example of using a redirected configuration is where a custom build too
13061307

13071308
<WranglerConfig>
13081309

1309-
```toml title="wrangler.toml"
1310-
name = "my-worker"
1311-
main = "src/index.ts"
1312-
[[kv_namespaces]]
1313-
binding = "<BINDING_NAME1>"
1314-
id = "<NAMESPACE_ID1>"
1315-
```
1316-
1310+
```toml title="wrangler.toml"
1311+
name = "my-worker"
1312+
main = "src/index.ts"
1313+
[[kv_namespaces]]
1314+
binding = "<BINDING_NAME1>"
1315+
id = "<NAMESPACE_ID1>"
1316+
```
1317+
13171318
</WranglerConfig>
13181319

1319-
Note that this configuration points `main` at the user's code entry-point.
1320+
Note that this configuration points `main` at the user's code entry-point.
13201321

13211322
- Then, the user runs a custom build, which might read the user's Wrangler configuration file to find the source code entry-point:
13221323

0 commit comments

Comments
 (0)