mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
fix typo
This commit is contained in:
parent
d441d79c6c
commit
69b810a58e
@ -5,7 +5,7 @@ module.exports = async (req, res) => {
|
||||
try {
|
||||
const { html, status, headers } = await render(req.url, { req, res })
|
||||
for (const header in headers) {
|
||||
res.setHeadeer(header, headers[header])
|
||||
res.setHeader(header, headers[header])
|
||||
}
|
||||
res.status(status)
|
||||
res.end(html)
|
||||
|
Loading…
Reference in New Issue
Block a user