Skip to content

Commit

Permalink
fix: 修复 404 页面跳转的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
孙颢 committed Dec 4, 2018
1 parent 8300226 commit 4015bdd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export function getRender(

renderer.renderToString(context, (err: any, html: string) => {
if (err) {
res.send(err)
return handleError(err)
}
res.end(html)
Expand Down

0 comments on commit 4015bdd

Please sign in to comment.