vercel/serve

Allow removal of a header

Open

Aperta il 21 giu 2018

Vedi su GitHub
 (8 commenti) (2 reazioni) (0 assegnatari)TypeScript (8811 star) (719 fork)batch import
help wantedpatch

Descrizione

I'd like to be able to set a default header and then override it to nonexistance. When I do the below, a header with null shows up, versus the header disappearing. Ditto with max-age=0. And when I do "headers": [], it gets 86400 from the first rule.

image

image

cc @leo

Guida contributor