feat: stream static files (#79)

This commit adds support for streaming static files. Instead of them
being fully buffered in memory, they are now streamed directly to the
client.
This commit is contained in:
Luca Casonato
2022-01-04 17:43:08 +01:00
committed by GitHub
parent 64da4005bb
commit 6abf62c832
2 changed files with 45 additions and 21 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ test:
deno test -A --no-check
dev:
deno run -A --watch --no-check www/main.ts
deno run -A --watch=www/static --no-check www/main.ts