victornswd
how to end response without using "nativeEvent"?
onRequest
from createMiddleware
gives:
Type '(event: FetchEvent) => Promise<Response | undefined>' is not assignable to type 'RequestMiddleware | RequestMiddleware[] | undefined'.
just checked now, and throwing a new Response works as expected3 replies