We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a8d9dc commit b39a52cCopy full SHA for b39a52c
src/runtime/plugins/http.server.ts
@@ -288,9 +288,9 @@ function writeClientHintsResponseHeaders(
288
const nuxtApp = useNuxtApp()
289
const callback = () => {
290
const event = useRequestEvent(nuxtApp)
291
- Object.entries(headers).forEach(([key, value]) => {
+ for (const [key, value] of Object.entries(headers)) {
292
appendHeader(event, key, value)
293
- })
+ }
294
}
295
const unhook = nuxtApp.hooks.hookOnce('app:rendered', callback)
296
nuxtApp.hooks.hookOnce('app:error', () => {
0 commit comments