I/O error cloudflare
So this is because you're using the global scope (i.e, you're putting the request from one request in a global variable and then accessing it from a different request)
9 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Oh, is this SvelteKit?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Alright, so what you need to do is move the new PocketBase into the GET() handler. Something like this:
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
It should solve it, yeah. Depending on how expensive the new PocketBase() is though, you might want to do the above ^
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
No, as long as you're not using the Unbound billing model.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View