Skip to content

Commit

Permalink
Fix link to point to the English docs (#1486)
Browse files Browse the repository at this point in the history
* Fix link to point to the English docs

A /en was added to the link for the Performance best practices section
in English.

Without it, the link redirects to the docs in some other language.

* Change anchor element for markdown link

The anchor html element was replaced by a markdown link with the page.lang variable.
  • Loading branch information
Miguelrom committed May 4, 2024
1 parent d76b2bd commit 7d6fa7d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions _includes/api/en/4x/app-settings.md
Expand Up @@ -29,11 +29,10 @@ Sub-apps will not inherit the value of `view cache` in production (when `NODE_EN
<td markdown="1">
`env`
</td>
<td>String</td>
<td>Environment mode.
Be sure to set to "production" in a production environment;
see <a href="/advanced/best-practice-performance.html#env">Production best practices: performance and reliability</a>.
</td>
<td>String</td>
<td markdown="1">
Environment mode. Be sure to set to "production" in a production environment; see [Production best practices: performance and reliability](/{{page.lang}}/advanced/best-practice-performance.html#env).
</td>
<td markdown="1">
`process.env.NODE_ENV` (`NODE_ENV` environment variable) or "development" if `NODE_ENV` is not set.
</td>
Expand Down

0 comments on commit 7d6fa7d

Please sign in to comment.