Skip to content

Commit

Permalink
Webmanifest: redirect hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipChalupa committed May 14, 2020
1 parent 2bb90fa commit 8207dc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/utils/webmanifest-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
return;
}

if ($Req->getUrl()->getPath() === '/manifest.webmanifest' && file_exists($dir . '/webmanifest.php')) {
if ($Req->getUrl()->getPath() === '/webmanifest.json/' && file_exists($dir . '/webmanifest.php')) {
$webmanifest = require($dir . '/webmanifest.php');
sendPayload($webmanifest);
}
Expand Down
2 changes: 1 addition & 1 deletion theme/views/@layout.latte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" href="{$assetsPath}/styles/{$buildstamp}index.css">
<link rel="stylesheet" href="{$assetsPath}/styles/{$buildstamp}print.css" media="print">
{/block}
<link rel="manifest" href="/manifest.webmanifest">
<link rel="manifest" href="/webmanifest.json/">
<title>{$title}</title>
{php wp_head()}
{php do_action(get_header)}
Expand Down

0 comments on commit 8207dc3

Please sign in to comment.