Get HOST from http request
AlekseyMelikov opened this issue · 1 comments
AlekseyMelikov commented
Hi, I am newbie to Aleph.js. Please tell me, how can I get HOST from http request?
ije commented
you can get the host from the url
field of Request: new URL(req.url).hostname