I need to get the host to, I am creating an api endpoint at ~/server/api/test
but with event
on defineEventHandler is just giving me for example only localhost
as host but without port.
I am trying with getRequestURL(event)
too but same issue.
I need this because I am creating a wrapper for fetch and I need to send full host to an external multitenant api.
Can you help me how to get full host?.