Skip to content

Commit

Permalink
ensure not to render ErrorDebug on production (vercel#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkzawa authored and timneutkens committed Feb 10, 2017
1 parent 15facf0 commit ed00eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async function doRender (req, res, pathname, query, {
const app = createElement(App, {
Component,
props,
err,
err: dev ? err : null,
router: new Router(pathname, query)
})

Expand Down

0 comments on commit ed00eb7

Please sign in to comment.