提交 b3f15f8d 编写于 作者: A Arunoda Susiripala 提交者: GitHub

Fix a typo. (#1749)

上级 dec85fe6
......@@ -125,7 +125,7 @@ export async function renderScriptError (req, res, page, error, customFields, op
res.setHeader('Content-Type', 'text/javascript')
res.end(`
window.__NEXT_REGISTER_PAGE('${page}', function() {
var error = new Error('Page not exists: ${page}')
var error = new Error('Page does not exist: ${page}')
error.statusCode = 404
return { error: error }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册