Replies: 1 comment 3 replies
-
@brandonroberts FWIW I took this example of you and tried to setup sitemap there. got the same issue, it returns 404 for https://github.com/brandonroberts/analog-angular-ssr plugins: [
analog({
prerender: {
routes: ['/'],
sitemap: {
host: process.env['VITE_ANALOG_PUBLIC_BASE_URL'] || '',
},
},
}),
], |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm about to launch a big site built with analog, but just realized I'm unable to serve the sitemap 💀
this is my
vite.config.ts
then if I build with
BUILD_PRESET=bun
and execute the serverbun analog/server/index.mjs
it generates the sitemap file under
analog/public
, but the route/sitemap.xml
doesn't work. everything else runs well though.am I missing something? 🤔
Beta Was this translation helpful? Give feedback.
All reactions