Commit 53cb345d authored by Tim Neutkens's avatar Tim Neutkens

Don’t quote automatically quoted string

parent ab43e9ef
......@@ -195,7 +195,7 @@ export class NextScript extends Component {
}
${page === '_error' && `
__NEXT_REGISTER_PAGE('${htmlescape(pathname)}', function() {
__NEXT_REGISTER_PAGE(${htmlescape(pathname)}, function() {
var error = new Error('Page does not exist: ${htmlescape(pathname)}')
error.statusCode = 404
......
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