Skip to content

Commit

Permalink
type fix redwoodjs#2, escape underscores in markdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
exzachlyvv committed Jul 29, 2022
1 parent 7f3d061 commit e7a3fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ By adding environment variables to this array, they'll be available to Web in pr

Note: if someone inspects your site's source, _they could see your `REDWOOD_ENV_SECRET_API_KEY` in plain text._ This is a limitation of delivering static JS and HTML to the browser.

#### Option 2: Prefixing with REDWOOD*ENV*
#### Option 2: Prefixing with REDWOOD\_ENV\_

In `.env`, if you prefix your environment variables with `REDWOOD_ENV_`, they'll be available via `process.env.REDWOOD_ENV_MY_VAR_NAME`, and will be dynamically replaced at built-time.

Expand Down

0 comments on commit e7a3fef

Please sign in to comment.