Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
Add SVG icon support
Browse files Browse the repository at this point in the history
  • Loading branch information
dodaucy committed Nov 9, 2023
1 parent 79e6e25 commit eca2d41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions static/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"start_url": "/",
"display": "standalone",
"icons": [
{
"src": "/static/icons/icon.svg",
"sizes": "any",
"type": "image/svg+xml"
},
{
"src": "/static/icons/32x32.webp",
"sizes": "32x32",
Expand Down
1 change: 1 addition & 0 deletions templates/head.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="manifest" href="/static/manifest.json">
<link rel="icon" href="/static/icons/icon.svg" type="image/svg+xml" sizes="any">
<link rel="icon" href="/static/icons/32x32.webp" type="image/webp" sizes="32x32">
<link rel="icon" href="/static/icons/32x32.png" type="image/png" sizes="32x32">
<link rel="icon" href="/static/icons/48x48.webp" type="image/webp" sizes="48x48">
Expand Down

0 comments on commit eca2d41

Please sign in to comment.