-
-
Notifications
You must be signed in to change notification settings - Fork 20.5k
Closed
Labels
Description
Currently in express, req.host
returns the hostname instead of the host (i.e. it strips the port, if present). This should be renamed to req.hostname
in the next major and req.host
added that is the actual host and not the hostname.
/cc @dantman