DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
express get port from request
const proxyHost = req.headers["x-forwarded-host"]; const host ? proxyHost : req.headers.host;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#express
#port
#request
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit