© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How do you set the cookie domain? - Nuxt
N
Nuxt
•
2y ago
•
2 replies
Ryan The Temp
How do you set the cookie domain?
I
've setup a hosts entry for local development for
app.local
app.local
Now I
'm running nuxt with
nuxt dev --host app.local
nuxt dev --host app.local
The problem is that when I use
setCookie
setCookie
from h3 its still creating the cookie for the
localhost
localhost
domain
. Is there a way to change this
?
Recent Announcements
Similar Threads
How do you get coverage set up with Playwright?
N
Nuxt / ❓・help
10mo ago
Cookie not being set immediately
N
Nuxt / ❓・help
2y ago