hostname on server side #71357
Unanswered
meisamhasani
asked this question in
App Router
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hello
i need get hostname of user request in server side page
i have a portal , and with hostname detect merchant.
when i use blow code , get error
const headersList = headers();
const host = headersList.get('host');
how do i it?
Beta Was this translation helpful? Give feedback.
All reactions