Skip to content

Commit

Permalink
No longer incorrectly set referrerPolicy from preload integrity value
Browse files Browse the repository at this point in the history
  • Loading branch information
gnoff committed Aug 13, 2023
1 parent 0e08c06 commit 9970fd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2872,7 +2872,7 @@ function adoptPreloadPropsForScript(
if (scriptProps.referrerPolicy == null)
scriptProps.referrerPolicy = preloadProps.referrerPolicy;
if (scriptProps.integrity == null)
scriptProps.referrerPolicy = preloadProps.integrity;
scriptProps.integrity = preloadProps.integrity;
}
type KeyedTagCache = Map<string, Array<Element>>;
Expand Down

0 comments on commit 9970fd2

Please sign in to comment.