victornswd
victornswd
SSolidJS
Created by victornswd on 3/13/2024 in #support
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 expected
3 replies