vercel/serve

Allow removal of a header

Open

#438 ouverte le 21 juin 2018

Voir sur GitHub
 (8 commentaires) (2 réactions) (0 assignés)TypeScript (8 811 stars) (719 forks)batch import
help wantedpatch

Description

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

Guide contributeur