1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Fix #2353 - server render parameters (#2356)

This commit is contained in:
Dan Zajdband 2017-06-23 20:08:05 -03:00 committed by Arunoda Susiripala
parent 5d039877a6
commit 87e01f681b

View file

@ -17,7 +17,7 @@ import { flushChunks } from '../lib/dynamic'
import xssFilters from 'xss-filters'
export async function render (req, res, pathname, query, opts) {
const html = await renderToHTML(req, res, pathname, opts)
const html = await renderToHTML(req, res, pathname, query, opts)
sendHTML(req, res, html, req.method, opts)
}