aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar JolteonYellow <46378904+JolteonYellow@users.noreply.github.com> 2022-07-09 20:49:37 +0100
committerGravatar GitHub <noreply@github.com> 2022-07-09 15:49:37 -0400
commit1597424d17e17c38802718008bfae49a0b8604dd (patch)
tree3c806c2e733d074d873da5f557b91ed616c0875d
parent465e185a745f07f19872832234808c2ce52c706b (diff)
downloadbun-1597424d17e17c38802718008bfae49a0b8604dd.tar.gz
bun-1597424d17e17c38802718008bfae49a0b8604dd.tar.zst
bun-1597424d17e17c38802718008bfae49a0b8604dd.zip
fix dotenv package example on landing page (#436)
-rw-r--r--packages/bun-landing/page.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/bun-landing/page.tsx b/packages/bun-landing/page.tsx
index 6204edd51..afb8743fb 100644
--- a/packages/bun-landing/page.tsx
+++ b/packages/bun-landing/page.tsx
@@ -568,7 +568,7 @@ export default ({ inlineCSS }) => (
<li>
bun.js automatically loads environment variables from{" "}
<Bun>.env</Bun> files. No more{" "}
- <code class="mono">require("dotenv").load()</code>
+ <code class="mono">require("dotenv").config()</code>
</li>
<li>
bun ships with a fast SQLite3 client builtin <Bun>bun:sqlite</Bun>