diff --git a/docs/api/request.md b/docs/api/request.md index a4508ca..f23ad9f 100644 --- a/docs/api/request.md +++ b/docs/api/request.md @@ -57,10 +57,11 @@ ### req.host - Get host(hostname:port) when present. Supports `X-Forwarded-Host` + Get host (hostname:port) when present. Supports `X-Forwarded-Host` when `app.proxy` is __true__, otherwise `Host` is used. ### req.hostname + Get hostname when present. Supports `X-Forwarded-Host` when `app.proxy` is __true__, otherwise `Host` is used.