Skip to content

Commit 4df7e48

Browse files
shudingtimneutkens
authored andcommitted
Add title to default error page (vercel#4383)
1 parent cbfdcce commit 4df7e48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/error.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default class Error extends React.Component {
2222
return <div style={styles.error}>
2323
<Head>
2424
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
25+
<title>{statusCode}: {title}</title>
2526
</Head>
2627
<div>
2728
<style dangerouslySetInnerHTML={{ __html: 'body { margin: 0 }' }} />

0 commit comments

Comments
 (0)