solid-start icon indicating copy to clipboard operation
solid-start copied to clipboard

Streaming for deno adapter

Open nksaraf opened this issue 2 years ago • 0 comments

As per this comment: https://twitter.com/lcasdev/status/1516838233359122434?s=20&t=ufhOOm_SiqHszQPWK0wmHQ, we should be able to stream the static assets from the Deno adapter

      const file = await Deno.open(`.${pathname}`);
      // Respond to the request with the style.css file.
      return new Response(file.readable, {

nksaraf avatar Jun 28 '22 07:06 nksaraf