Closed
Description
🐛 The bug
If you have a server middleware in the latest version of H3. and using sitemaps this triggers the error and it breaks.
I think this is a H3 upstream issue but I will open it here too for visibility.
Check bottom issue. It's a bit too much for me to fix. I've just ignored the '/api' routes for now but not everybody can do it.
🛠️ To reproduce
🌈 Expected behavior
No errors
ℹ️ Additional context
No response