Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
12
node_modules/next/dist/esm/server/app-render/strip-flight-headers.js
generated
vendored
Normal file
12
node_modules/next/dist/esm/server/app-render/strip-flight-headers.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { FLIGHT_HEADERS } 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_HEADERS){
|
||||
delete headers[header.toLowerCase()];
|
||||
}
|
||||
}
|
||||
|
||||
//# sourceMappingURL=strip-flight-headers.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue