Issue with Next.js (next-on-pages), API route and R2
Hey, any help is appreciated, thanks.
I have a route that returns the list of objects in R2, it works the first time, but if you try visit again or refresh too quickly I get an error "The script will never generate a response.".
lib/r2.ts
app/api/files/route.ts
0 Replies