(value)
| 39 | } |
| 40 | |
| 41 | function firstForwardedValue(value) { |
| 42 | return value?.split(",")[0].trim(); |
| 43 | } |
| 44 | |
| 45 | // changeOrigin rewrites Host, and httpxy's upgrade path adds no X-Forwarded-Host. |
| 46 | // The editor proxy and code-server compare Origin against the client-facing |
no outgoing calls
no test coverage detected