We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 524d472 commit 43c7429Copy full SHA for 43c7429
src/runtime/server/plugin.ts
@@ -26,8 +26,7 @@ export default defineNitroPlugin((nitroApp) => {
26
27
// todo: remove this just for testing purposes
28
nitroApp.hooks.hook('afterResponse', async (event) => {
29
- // We should add the Vary header to the response: is there a way to check if the response has been committed?.
30
- // I guess the vary header whould be added by the consule, there are a lot of header here to handle.
+ // I guess the consumer should add the Vary header; there are a lot of headers here to handle.
31
const receivedOptions = event.context.httpClientHintsOptions
32
if (receivedOptions) {
33
console.log(`Client Hints for ${event.path}`, event.context.httpClientHints)
0 commit comments