Commit 87e01f68 authored by Dan Zajdband's avatar Dan Zajdband Committed by Arunoda Susiripala

Fix #2353 - server render parameters (#2356)

parent 5d039877
...@@ -17,7 +17,7 @@ import { flushChunks } from '../lib/dynamic' ...@@ -17,7 +17,7 @@ import { flushChunks } from '../lib/dynamic'
import xssFilters from 'xss-filters' import xssFilters from 'xss-filters'
export async function render (req, res, pathname, query, opts) { 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) sendHTML(req, res, html, req.method, opts)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment