Skip to content

Commit

Permalink
Update _head.php
Browse files Browse the repository at this point in the history
  • Loading branch information
AIC-BV authored Dec 1, 2023
1 parent 6e60ea8 commit 746d7e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/backend/layouts/_head.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
?>

<?php foreach ($styles as $style): ?>
<link href="<?= $style . '?v=' . $coreBuild; ?>" rel="stylesheet">
<link href="<?= $style . '?v=' . $coreBuild; ?>" rel="preload" as="style">
<link href="<?= $style . '?v=' . $coreBuild; ?>" rel="stylesheet" fetchpriority="high">
<link href="<?= $style . '?v=' . $coreBuild; ?>" rel="preload" as="style" fetchpriority="high">
<?php endforeach; ?>

<?php foreach ($scripts as $script): ?>
<script data-cfasync="false" src="<?= $script . '?v=' . $coreBuild; ?>"></script>
<link href="<?= $script . '?v=' . $coreBuild; ?>" rel="preload" as="script">
<script data-cfasync="false" src="<?= $script . '?v=' . $coreBuild; ?>" async fetchpriority="high"></script>
<link href="<?= $script . '?v=' . $coreBuild; ?>" rel="preload" as="script" fetchpriority="high">
<?php endforeach; ?>

<?php if (!Config::get('cms.enableBackendServiceWorkers', false)): ?>
Expand Down

0 comments on commit 746d7e4

Please sign in to comment.