Commit ed00eb72 authored by Naoyuki Kanezawa's avatar Naoyuki Kanezawa Committed by Tim Neutkens

ensure not to render ErrorDebug on production (#1064)

parent 15facf0a
...@@ -65,7 +65,7 @@ async function doRender (req, res, pathname, query, { ...@@ -65,7 +65,7 @@ async function doRender (req, res, pathname, query, {
const app = createElement(App, { const app = createElement(App, {
Component, Component,
props, props,
err, err: dev ? err : null,
router: new Router(pathname, query) router: new Router(pathname, query)
}) })
......
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