You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Currently in express,
req.host
returns the hostname instead of the host (i.e. it strips the port, if present). This should be renamed toreq.hostname
in the next major andreq.host
added that is the actual host and not the hostname./cc @dantman
The text was updated successfully, but these errors were encountered: