fix: adding keys

This commit is contained in:
dvelo 2024-09-04 18:31:51 -05:00
parent e883484e66
commit 5d168b2bd8
2 changed files with 4 additions and 4 deletions

@ -69,19 +69,19 @@ _Note: Skip this step if you're using [TCPShield](https://tcpshield.com/) for DD
Enable proxy protocol in your proxy's configuration file: Enable proxy protocol in your proxy's configuration file:
### Velocity ### Velocity
In velocity.toml under advanced, set In `velocity.toml` under advanced, set
``` ```
haproxy-protocol = true haproxy-protocol = true
``` ```
### Waterfall ### Waterfall
In config.yml under listeners, set In `config.yml` under listeners, set
``` ```
proxy_protocol: true proxy_protocol: true
``` ```
### Paper ### Paper
In config/paper-global.yml under proxies, set In `config/paper-global.yml` under proxies, set
``` ```
proxy-protocol: true proxy-protocol: true
``` ```

@ -73,7 +73,7 @@ function Subdocs({ docs }: { docs: (Docs | DocsFolder)[] }) {
<> <>
{docs.map((doc) => { {docs.map((doc) => {
if ("docs" in doc) { if ("docs" in doc) {
return <Subdocs docs={doc.docs} />; return <Subdocs docs={doc.docs} key={doc.name} />;
} }
return ( return (
<> <>