harlan
harlan
NNuxt
Created by kb on 4/2/2025 in #❓・help
defineCachedEventHandler strips out headers
oh it's the second arg of the function defineCachedEventHandler(.., { varies: ['authorization'] })
19 replies
NNuxt
Created by kb on 4/2/2025 in #❓・help
defineCachedEventHandler strips out headers
i think you can use Vary or something to allow the header 🤔
19 replies
NNuxt
Created by kb on 4/2/2025 in #❓・help
defineCachedEventHandler strips out headers
the headers are striped for security reasons, if you need an auth in the request for it to work then you should use a cachedFunction
19 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
that would be helpful, thanks
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
it points to localhost when it detects a development environment
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
although the server response time is super slow for them being static
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
yes i think the issue is that these files may be getting generated at build-time?
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
Oh ye this should be fine
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
Depends how it's distributed
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
Possibly the node env is development when you're building
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
I'd suggest setting site config per the docs also
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
What's your build command in package.json
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
So likely the entire app thinks it's development
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
You're doing something quite wrong sitemap path is pointed at local host
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
Or nuxt config
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
Can you share the site config
40 replies
NNuxt
Created by nandi95 on 3/28/2025 in #❓・help
Content change content programatically
these only run when it's transformed which only happens the first time it's passed so you may need to delete your .data / .nuxt folder to get it to trigger
13 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
do you have a live example?
40 replies
NNuxt
Created by botprzemek on 3/28/2025 in #❓・help
Enabling indexing with X-Robots-Tag
most likely nuxt seo thinks the environment is not a production environment
40 replies
NNuxt
Created by Koizumi on 2/19/2025 in #❓・help
Nuxt Sitemap configure sitemap url
images should be discovered when prerendering if your content is wrpped with a <main> https://nuxtseo.com/docs/sitemap/guides/images-videos
16 replies