Closed oscarhermoso closed 7 months ago
Hello @oscarhermoso ,
I just pushed an update to fix the query string issue, please update to version 0.8.15
.
Here's a repo with a working example https://github.com/tncrazvan/sveltekit-sse-issue-32 , it resembles your reproduction code.
Remember that the first value provided will always be null
because of SSR.
Let me know if this solves your problem.
Updated and now it's working great! Thank you @tncrazvan for the crazy fast fix :heart:
Firstly, very cool project. I am combining this with https://github.com/grmkris/drizzle-pg-notify-audit-table/tree/main to build a notification system for my app. Thank you for maintaining this library!
I was migrating some SvelteKit endpoints that previously were GET endpoints with search params to
sveltekit-sse
POST endpoints.Unfortunately, requests with search params were failing silently, and this took a lot of time to debug.
Steps to reproduce
Expected
Request succeeds, with URL search params usable. If this is not possible, then error should be made visible to user
Actual
No error reported, request fails silently with 200 response