8000 Referencing the sitemap.xml in a Netlify build · Issue #43 · bartholomej/svelte-sitemap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Referencing the sitemap.xml in a Netlify build #43
Open
@jenseo

Description

@jenseo

Hey there,
maybe I'm really stupid here but I'm quite new to Sveltekit and has struggled with getting this plugin to work on a Netlify deploy. It get's added correctly to the build folder, which I can also see when I download the deploy from Netlify, but when visiting the mysite.com/sitemap.xml url, I get a 404 and I interpret it like Sveltekit expects a route, but nothing found.

Do I need to exclude the sitemap from the routes somehow?

I've seen some other solutions online where people create their own loader and custom build function for the sitemap which I could do of course, but I was under the impression this was not needed for this plugin? Or how are people actually being able to "visit" their sitemap without Sveltekit interfering and trying to render a route there?

Thanks!

// Jens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0