Next.js Discord

Discord Forum

Head metadata backend code?

Answered
itsMU1X posted this in #help-forum
Open in Discord
there's an export for metadata includes head or others.. but there's some backend code to get the user's language it's literally getLanguage(cookies().get(COOKIE_NAME)?.value) it's not working, so how can i make backend code to get the language of the user?
Answered by itsMU1X
oh there's a generateMetadata function, i fixed it lol
View full answer

1 Reply

oh there's a generateMetadata function, i fixed it lol
Answer