First concept

This commit is contained in:
will
2026-04-02 19:13:46 +01:00
commit 1da5da43e1
9785 changed files with 2077949 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { FLIGHT_PARAMETERS } from "../../client/components/app-router-headers";
/**
* Removes the flight headers from the request.
*
* @param req the request to strip the headers from
*/ export function stripFlightHeaders(headers) {
for (const [header] of FLIGHT_PARAMETERS){
delete headers[header.toLowerCase()];
}
}
//# sourceMappingURL=strip-flight-headers.js.map