Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

Commit edc7fce

Browse files
committed
fix set logic
1 parent 27aa870 commit edc7fce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app-engine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,5 @@ export function getTrustProxyHeaders({ additionalTrustProxyHeaders = [], trustAl
159159
return true
160160
}
161161

162-
return [...new Set('x-forwarded-for', ...additionalTrustProxyHeaders)]
162+
return [...new Set(['x-forwarded-for', ...additionalTrustProxyHeaders])]
163163
}

0 commit comments

Comments
 (0)