Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
we need to keep add hash to manifest file if it exists
Signed-off-by: Konstantin Gorodinskii <[email protected]>
  • Loading branch information
gko committed Dec 28, 2019
commit d1a8af54889206951ed08c75309a21b7ad40332e
2 changes: 1 addition & 1 deletion apps/theming/lib/ThemingDefaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public function replaceImagePath($app, $image) {
try {
$appPath = $this->appManager->getAppPath($app);
if (file_exists($appPath . '/img/manifest.json')) {
return false;
return $this->urlGenerator->linkTo($app, 'img/manifest.json') . '?v=' . $cacheBusterValue;
}
} catch (AppPathNotFoundException $e) {}
$route = $this->urlGenerator->linkToRoute('theming.Theming.getManifest');
Expand Down