### Description I think this is a regression, as it was added in https://github.com/vercel/serve-handler/pull/45, and [there appears to be tests for it](https://github.com/vercel/serve-handler/blob/329bcba871abed617d4b32cfefd79b5ddc35e497/test/integration.test.js#L1229). If I try to launch `serve` with the following config: ```json { "headers": [ { "source": "**/*.*", "headers": [ { "key": "Content-Disposition", "value": null } ] } ] } ``` It fails with: ``` ERROR The configuration you provided is invalid: must be string {"type":"string"} ``` ### Library version 14.2.4 ### Node version v22.18.0
Activity
jakearchibald commentedon Sep 2, 2025
https://github.com/vercel/schemas/blob/f78f1110a2c2d06d8ecc05999a8cd3fccd06670b/deployment/config-static.js#L49 here's the issue. I'm not sure what the format is, but that needs to allow null.
Allow header values to be nullable
jakearchibald commentedon Sep 2, 2025
PR vercel/schemas#89