docs
This commit is contained in:
parent
50ffb86a40
commit
55ebdb522b
1 changed files with 2 additions and 1 deletions
|
@ -57,10 +57,11 @@
|
||||||
|
|
||||||
### req.host
|
### 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.
|
when `app.proxy` is __true__, otherwise `Host` is used.
|
||||||
|
|
||||||
### req.hostname
|
### req.hostname
|
||||||
|
|
||||||
Get hostname when present. Supports `X-Forwarded-Host`
|
Get hostname when present. Supports `X-Forwarded-Host`
|
||||||
when `app.proxy` is __true__, otherwise `Host` is used.
|
when `app.proxy` is __true__, otherwise `Host` is used.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue