fix(schema): disable early hints by default (#8486)

This commit is contained in:
Daniel Roe 2022-10-26 10:48:47 +02:00 committed by GitHub
parent 6d830c7629
commit 95ae87ba05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,11 +83,11 @@ export default defineUntypedSchema({
/** Enable cross-origin prefetch using the Speculation Rules API. */
crossOriginPrefetch: false,
/**
/**
* Write early hints when using node server.
*
* @note If you are using Nginx, set the value to `false`. Nginx does not support 103 Early hints in the current version.
* @note nginx does not support 103 Early hints in the current version.
*/
writeEarlyHints: true
writeEarlyHints: false
}
})