satyarohith / sift

Sift is a routing and utility library for Deno Deploy.
https://deno.land/x/sift
MIT License
170 stars 14 forks source link

feat(serveStatic): use Deno.readFile #35

Closed satyarohith closed 3 years ago

satyarohith commented 3 years ago

This will fix a whole class of CSP header headaches that are common when proxying github content.

After Deno.readFile matures and supports URLs, serveStatic will switch to use only Deno.readFile and it will be a BREAKING change.

closes #33