Skip to content

Commit 4947028

Browse files
committed
fix: timeout on error page should have 504
1 parent f85cf44 commit 4947028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/500.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default ({ reqId, isTimeout }: { reqId: string; isTimeout?: boolean }) =>
1010
<>
1111
<PageContainer>
1212
<div style={{ textAlign: 'center', marginBottom: '2rem' }}>
13-
<h1>500 Internal Server Error</h1>
13+
<h1>{isTimeout ? '504 Timeout' : '500 Server Error'}</h1>
1414

1515
<p>Oops, the package failed to install.</p>
1616
<p style={{ maxWidth: '500px' }}>

0 commit comments

Comments
 (0)