Skip to content

Commit

Permalink
custom favicon on localhost (#9839)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-hariti committed May 8, 2024
1 parent bd054e0 commit 3af15a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ const rubik = Rubik({
export const metadata: Metadata = {
title: 'Home',
icons: {
icon: 'https://docs.sentry.io/favicon.ico',
icon:
process.env.NODE_ENV === 'production' ? '/favicon.ico' : '/favicon_localhost.png',
},
metadataBase: new URL('https://docs.sentry.io/'),
openGraph: {
Expand Down
Binary file added public/favicon_localhost.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3af15a6

Please sign in to comment.