File tree 1 file changed +3
-1
lines changed 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ export const pluginOptionsSchema = ({ Joi }: any) => {
25
25
headers : headersSchema ,
26
26
allPageHeaders : Joi . array ( ) . items ( Joi . string ( ) ) . description ( `Add more headers to all the pages` ) ,
27
27
mergeSecurityHeaders : Joi . boolean ( ) . description ( `When set to false, turns off the default security headers` ) ,
28
- mergeLinkHeaders : Joi . boolean ( ) . description ( `Deprecated` ) ,
28
+ mergeLinkHeaders : Joi . boolean ( ) . description ( `When set to false, turns off the default gatsby js headers` ) . forbidden ( ) . messages ( {
29
+ "any.unknown" : `"mergeLinkHeaders" is no longer supported. Gatsby no longer adds preload headers as they negatively affect load performance`
30
+ } ) ,
29
31
mergeCachingHeaders : Joi . boolean ( ) . description ( `When set to false, turns off the default caching headers` ) ,
30
32
transformHeaders : Joi . function ( )
31
33
. maxArity ( 2 )
You can’t perform that action at this time.
0 commit comments