I’ll introduce how to get the host name in Express.js (Node.js).
request.headers.host
You can check the host name from the HTTP request headers.
request.headers.host
This is not specifically limited to Express.js.
That’s all from the Gemba.
I’ll introduce how to get the host name in Express.js (Node.js).
You can check the host name from the HTTP request headers.
request.headers.host
This is not specifically limited to Express.js.
That’s all from the Gemba.