I'm trying to create a nuxtJS module to make some changes to the routes based on the URL or request, i simply want to access the request.header.host
inside a nuxtJS module but I'm unable to get it, i tried to check it process.server
, this
, context
but unable toβ¦
I'm trying to create a nuxtJS module to make some changes to the routes based on the URL or request, i simply want to access the request.header.host inside a nuxtJS module but I'm unable to get it, i tried to check it process.server, this, context but unable to get the request object, i just want to get the full domain only, so how can I do that?
Top comments (0)