mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-03-11 11:54:44 +00:00
fixes issue where api routes were being defaulted to text/html. Page routes should be text/html, but api routes could be json, zip files, etc., and express does some type-guessing to assist in case the user code does not specify the content-type.