mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
ensure not to render ErrorDebug on production (#1064)
This commit is contained in:
parent
15facf0ae1
commit
ed00eb7236
|
@ -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)
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue