Y
Hacker News
new
|
ask
|
show
|
jobs
by
Flam
926 days ago
Is there a design reason why the example does “new lowstorage” on each hono endpoint?
1 comments
neon_me
926 days ago
you want to get context (c) and its env inside function to get to R2 instance - in vanilla worker code it would be wrapped inside async fetch(request, env, ctx)
link