Skip to content

Commit

Permalink
feat(header): enable cachebusting for header element
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Henseler <[email protected]>
  • Loading branch information
bromiesTM committed Jul 23, 2024
1 parent c53dcb4 commit 25d2042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/templates/layout.user.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path($_['appid'], 'favicon-touch.png')); ?>">
<link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path($_['appid'], 'favicon-mask.svg')); ?>" color="<?php p($theme->getColorPrimary()); ?>">
<link rel="manifest" href="<?php print_unescaped(image_path($_['appid'], 'manifest.json')); ?>" crossorigin="use-credentials">
<script nonce="<?php p(\OC::$server->get(OC\Security\CSP\ContentSecurityPolicyNonceManager::class)->getNonce()) ?>" src="/themes/nc-ionos-theme/core/js/custom-elements/global-navigation/ionos-global-navigation.js" type="module"></script>

<?php emit_css_loading_tags($_); ?>
<?php emit_script_loading_tags($_); ?>
<?php print_unescaped($_['headers']); ?>
Expand Down
2 changes: 2 additions & 0 deletions defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*/

OCP\Util::addScript('', 'custom-elements/global-navigation/ionos-global-navigation');

class OC_Theme {

/**
Expand Down

0 comments on commit 25d2042

Please sign in to comment.