Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
style: remove trailing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Sep 28, 2022
1 parent dc2e983 commit 55ff9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt/src/core/runtime/nitro/renderer.ts
Expand Up @@ -158,7 +158,7 @@ export default defineRenderHandler(async (event) => {
if (!isRenderingPayload && !process.env.prerender && event.res.socket) {
const { link } = renderResourceHeaders({}, renderer.rendererContext)
// TODO: use https://github.com/nodejs/node/pull/44180 when we drop support for node 16
event.res.socket!.write(`HTTP/1.1 103 Early Hints\r\nLink: ${link}\r\n\r\n`, 'utf-8',)
event.res.socket!.write(`HTTP/1.1 103 Early Hints\r\nLink: ${link}\r\n\r\n`, 'utf-8')
}

const _rendered = await renderer.renderToString(ssrContext).catch((err) => {
Expand Down

0 comments on commit 55ff9dd

Please sign in to comment.