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