Skip to content

Commit

Permalink
[Bugfix] the Manifest Syntax error (#1524)
Browse files Browse the repository at this point in the history
Fixes the Manifest Syntax error
  • Loading branch information
Ludy87 authored Jul 4, 2024
1 parent 1c90b65 commit 40042c3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 20 deletions.
5 changes: 0 additions & 5 deletions src/main/resources/static/css/error.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
p {
text-align: center;
margin-top: 2em;
}

.features-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(21rem, 3fr));
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/static/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"short_name": "Stirling-PDF",
"icons": [
{
"src": "/android-icon-192x192.png",
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-icon-512x512.png",
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
Expand Down
24 changes: 12 additions & 12 deletions src/main/resources/static/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "Stirling PDF",
"short_name": "Stirling PDF",
"name": "Stirling-PDF",
"short_name": "Stirling-PDF",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/fragments/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<link rel="apple-touch-icon" sizes="180x180" th:href="@{'/apple-touch-icon.png'}">
<link rel="icon" type="image/png" sizes="32x32" th:href="@{'/favicon-32x32.png'}">
<link rel="icon" type="image/png" sizes="16x16" th:href="@{'/favicon-16x16.png'}">
<link rel="manifest" th:href="@{'/site.webmanifest'}">
<link rel="manifest" th:href="@{'/site.webmanifest'}" crossorigin="use-credentials">
<link rel="mask-icon" th:href="@{'/safari-pinned-tab.svg'}" color="#ca2b2a">
<link rel="shortcut icon" th:href="@{'/favicon.ico'}">
<meta name="apple-mobile-web-app-title" content="Stirling PDF">
Expand Down

0 comments on commit 40042c3

Please sign in to comment.