Skip to content

Commit 43c7429

Browse files
committed
chore: update Vary header comment
1 parent 524d472 commit 43c7429

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/runtime/server/plugin.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ export default defineNitroPlugin((nitroApp) => {
2626

2727
// todo: remove this just for testing purposes
2828
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.
29+
// I guess the consumer should add the Vary header; there are a lot of headers here to handle.
3130
const receivedOptions = event.context.httpClientHintsOptions
3231
if (receivedOptions) {
3332
console.log(`Client Hints for ${event.path}`, event.context.httpClientHints)

0 commit comments

Comments
 (0)