Closed Pascaltib closed 1 month ago
Temporary solution for this is to add { awaitServerData: false } to endpoint.
Currently there are no errors in onUploadComplete (when I run it in dev or prod).
can you still repro this? there were a few minutes on Wednesday where a missing edge case could cause infinite client loading
I can confirm I can no longer repro this. Testing it with the exact same code. Hmmm it was definitely more than a couple of minutes I experienced this issue for more than half a day so maybe it was related to something else.
But glad that it's resolved!
Provide environment information
Describe the bug
Uploading from the client is broken for Svelte in production.
I correctly receive the webhook, the file is stored in uploadthing but the client does not get a confirmation that the uploading process is done.
Video showing this
Link to reproduction
https://www.loom.com/share/c017d0954d6a40d08f0c863fa378962f?sid=279d464a-905b-4021-b399-e8bf7899c392
To reproduce
src/lib/utils/uploadthing.ts
๐จโ๐งโ๐ฆ Contributing
Code of Conduct