You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/workers/wrangler/configuration.mdx
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -631,6 +631,10 @@ Example:
631
631
632
632
<Renderfile="envvar-example" />
633
633
634
+
:::tip
635
+
For details on how to work with environment variables in multiple environments, see [Managing environment variables across multiple environments](/workers/configuration/environment-variables/#managing-environment-variables-across-multiple-environments).
636
+
:::
637
+
634
638
### Hyperdrive
635
639
636
640
[Hyperdrive](/hyperdrive/) bindings allow you to interact with and query any Postgres database from within a Worker.
@@ -658,7 +662,7 @@ id = "<ID>"
658
662
659
663
</WranglerConfig>
660
664
661
-
### Images
665
+
### Images
662
666
663
667
[Cloudflare Images](/images/transform-images/transform-via-workers/) lets you make transformation requests to optimize, resize, and manipulate images stored in remote sources.
664
668
@@ -1316,17 +1320,17 @@ A common example of using a redirected configuration is where a custom build too
1316
1320
1317
1321
<WranglerConfig>
1318
1322
1319
-
```toml title="wrangler.toml"
1320
-
name = "my-worker"
1321
-
main = "src/index.ts"
1322
-
[[kv_namespaces]]
1323
-
binding = "<BINDING_NAME1>"
1324
-
id = "<NAMESPACE_ID1>"
1325
-
```
1323
+
```toml title="wrangler.toml"
1324
+
name = "my-worker"
1325
+
main = "src/index.ts"
1326
+
[[kv_namespaces]]
1327
+
binding = "<BINDING_NAME1>"
1328
+
id = "<NAMESPACE_ID1>"
1329
+
```
1326
1330
1327
1331
</WranglerConfig>
1328
1332
1329
-
Note that this configuration points `main` at the user's code entry-point.
1333
+
Note that this configuration points `main` at the user's code entry-point.
1330
1334
1331
1335
- Then, the user runs a custom build, which might read the user's Wrangler configuration file to find the source code entry-point:
0 commit comments