-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sitemap await not... well, waiting... #141
Comments
Nothing immediately jumps to me as missing or wrong; that should be working. I'll try to reproduce it locally and fix it. Thanks for reporting 😄 |
Thanks! I can throw together a small project to be a full replication if you'd like. It's really just the one line
That's the issue and not running during the build. I BELIEVE i tried copying the fetch call directly into the sitemap(async instead of using external, but the external is getting invoked just there's no wait for the promise... it just bails out silently. |
Is the |
It's an external URL (ie http://example.com/staticGenerator/items?allId=1) I've tried building on both local and having cloudflare build it. I've made sure no experimental flags are enabled. I upgraded to the latest astro.
|
https://github.com/petethered/sitemap-ext-test-case Here you go, full replication case. https://github.com/petethered/sitemap-ext-test-case/blob/main/src/pages/divisions/%5Bid%5D.astro |
I'm trying to convert a SSG to SSR and found your extension which has been solving some of my sitemap issues. Thanks!
That being said, I'm running into issues trying to pull a list of ids to include in the sitemap for
During build, the await for fetch doesn't seem to be waiting.
[id].astro
items.ts
Running build shows the "PreFetch", and the url in the console log, but nothing happens... the request isn't made.
Mind telling me what I'm missing?
The text was updated successfully, but these errors were encountered: