Skip to content

Commit

Permalink
🐛 [PWA] Try to fix white border apple icon
Browse files Browse the repository at this point in the history
  • Loading branch information
beefchimi committed Jul 22, 2024
1 parent 852cdf7 commit df71746
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Binary file added public/custom-pwa/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion src/layouts/Page.astro
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ const OG_IMAGE = new URL('/assets/dulmage-social.png', Astro.site).href;
<!-- <link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml"> -->
<link rel="icon" href="/favicon.ico" sizes="48x48" />
<link rel="icon" href="/favicon.png" sizes="any" type="image/png" />
<link rel="apple-touch-icon" href="/apple-touch-icon-180x180.png" />
<!-- Workaround for `@vite-pwa/assets-generator` adding a thick white border -->
<link
rel="apple-touch-icon"
href="/custom-pwa/apple-touch-icon-180x180.png"
/>

<!-- Open Graph meta -->
<meta property="og:type" content="website" />
Expand Down

0 comments on commit df71746

Please sign in to comment.