Skip to content

Commit

Permalink
render 404 on browser only
Browse files Browse the repository at this point in the history
  • Loading branch information
teleaziz committed Apr 27, 2021
1 parent af6277a commit 887e355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/[[...path]].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function Path({
<meta name="robots" content="noindex" />
<meta name="title"></meta>
</Head>
<DefaultErrorPage statusCode={404} />
{ Builder.isBrowser && <DefaultErrorPage statusCode={404} /> }
</>
)
}
Expand Down

0 comments on commit 887e355

Please sign in to comment.