In express we can access it like
var origin = req.get('origin');
How do we achieve the same in fastify server?
What have I tried so far: I know that fastify allows us to access request.id. But I am looking to find the domain. I have also tried reading the hostname parameter, but it is the hostname of the server(www.local-demo.com:8080).
How do find the domain originating the request.