Skip to content

Commit

Permalink
chore: add comment for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Juzar10 committed Feb 5, 2025
1 parent 8fa7344 commit 1f80988
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/api-fetch/src/middlewares/preloading.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ function prepareResponse( responseData, parse ) {
} )
);
} catch {
// See: https://github.com/WordPress/gutenberg/issues/67358#issuecomment-2621163926.
Object.entries( responseData.headers ).forEach( ( [ key, value ] ) => {
if ( key.toLowerCase() === 'link' ) {
responseData.headers[ key ] = value.replace(
Expand Down

0 comments on commit 1f80988

Please sign in to comment.