Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Flam
· 2y ago · 0 comments
Is there a design reason why the example does “new lowstorage” on each hono endpoint?
Comments
[–]
neon_me
2y 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)