satyarohith / sift

Sift is a routing and utility library for Deno Deploy.

Home Page:https://deno.land/x/sift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error 500 Headers are immutable.

jupegarnica opened this issue · comments

commented

FYI
serveStatic fails serving a plain .html.

Error serving request: TypeError: Headers are immutable.
at Headers.set (deno:op_crates/fetch/20_headers.js:348:15)
at Object./screen (https://deno.land/x/sift@0.3.0/mod.ts:126:41)
at async handleRequest (https://deno.land/x/sift@0.3.0/mod.ts:48:36)
at async respondWith (deno:js/10_sr.js:58:14)

commented

but works fine locally

Released a new version that has the fix for this issue: https://github.com/satyarohith/sift/releases/tag/0.3.1.

Thanks! :)