Get HOST from http request
AlekseyMelikov opened this issue · comments
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
The Full-stack Framework in Deno.
AlekseyMelikov opened this issue · comments
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