Skip to content

Commit 0186cfd

Browse files
authored
Update index.mdx (#20895)
1 parent 8e2943b commit 0186cfd

File tree

1 file changed

+2
-6
lines changed
  • src/content/docs/workers/tutorials/postgres

1 file changed

+2
-6
lines changed

src/content/docs/workers/tutorials/postgres/index.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,10 @@ npx wrangler secret put DB_URL
103103

104104
Set your `DB_URL` secret locally in a `.dev.vars` file as documented in [Local Development with Secrets](/workers/configuration/secrets/).
105105

106-
<WranglerConfig>
107-
108-
```toml
106+
```toml title='.dev.vars'
109107
DB_URL="<ENTER YOUR POSTGRESQL CONNECTION STRING>"
110108
```
111109

112-
</WranglerConfig>
113-
114110
### Set explicit parameters
115111

116112
Configure each database parameter as an [environment variable](/workers/configuration/environment-variables/) via the [Cloudflare dashboard](/workers/configuration/environment-variables/#add-environment-variables-via-the-dashboard) or in your Wrangler file. Refer to an example of aWrangler file configuration:
@@ -379,4 +375,4 @@ Your Worker application is now live and accessible at `<YOUR_WORKER>.<YOUR_SUBDO
379375

380376
To build more with databases and Workers, refer to [Tutorials](/workers/tutorials) and explore the [Databases documentation](/workers/databases).
381377

382-
If you have any questions, need assistance, or would like to share your project, join the Cloudflare Developer community on [Discord](https://discord.cloudflare.com) to connect with fellow developers and the Cloudflare team.
378+
If you have any questions, need assistance, or would like to share your project, join the Cloudflare Developer community on [Discord](https://discord.cloudflare.com) to connect with fellow developers and the Cloudflare team.

0 commit comments

Comments
 (0)