You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry to reopen this issue, but for some reason, even with "/sitemap.xml" in the exclude list, the kit is still giving a 404 for me. I resorted to adding the sitemap.xml to the /static folder.
Same problem for me. I use dynamic path rewriting for i18n aka mydomain.com/en /de
Theoretically this should not be a problem but it does not work for some reason
What seems to help for me is to add a dummy sitemap.xml file in the /static folder (can be empty). Then it will be shown correctly when deployed. When using npm run build && npm run preview only shows the empty version tho
Wanted to share how to get this working with Cloudflare Pages successfully.
import adapter from '@sveltejs/adapter-cloudflare';
instead ofadapter-auto
svelte.config.js
"postbuild": "npx svelte-sitemap --out-dir .svelte-kit/cloudflare --domain https://example.com --debug"
The text was updated successfully, but these errors were encountered: