Skip to content

Commit

Permalink
Fix issue with PWA on subdomains.
Browse files Browse the repository at this point in the history
  • Loading branch information
corentin-soriano committed Oct 1, 2024
1 parent 57f1a38 commit 32ff069
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
<!-- favicon -->
<link rel="shortcut icon" type="image/png" href="<?php echo $favicon;?>"/>
<!-- manifest (PWA) -->
<link rel="manifest" href="includes/manifest.json?v=<?php echo TP_VERSION . '.' . TP_VERSION_MINOR; ?>">
<link rel="manifest" href="manifest.json?v=<?php echo TP_VERSION . '.' . TP_VERSION_MINOR; ?>">
<!-- Custom style -->
<?php
if (file_exists(__DIR__ . '/includes/css/custom.css') === true) {?>
Expand Down
4 changes: 2 additions & 2 deletions includes/manifest.json → manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Teampass",
"short_name": "Teampass",
"description": "Teampass",
"start_url": "/",
"start_url": ".",
"display": "fullscreen",
"display_override": [
"window-controls-overlay"
Expand All @@ -14,7 +14,7 @@
"theme_color": " #FFFFFF",
"icons": [
{
"src": "/includes/images/teampass-pwa.png",
"src": "./includes/images/teampass-pwa.png",
"type": "image/png",
"sizes": "512x512"
}
Expand Down

0 comments on commit 32ff069

Please sign in to comment.