aleph.js
aleph.js copied to clipboard
Get HOST from http request
trafficstars
Hi, I am newbie to Aleph.js. Please tell me, how can I get HOST from http request?
you can get the host from the url field of Request: new URL(req.url).hostname