We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab5748 commit 4f5f563Copy full SHA for 4f5f563
src/run/headers.ts
@@ -54,7 +54,10 @@ const generateNetlifyVaryValues = ({
54
}
55
56
const getHeaderValueArray = (header: string): string[] => {
57
- return header.split(',').map((value) => value.trim())
+ return header
58
+ .split(',')
59
+ .map((value) => value.trim())
60
+ .filter(Boolean)
61
62
63
const omitHeaderValues = (header: string, values: string[]): string => {
0 commit comments