Revert "add cache busting by query string"

This reverts commit 8003b51605.
This commit is contained in:
isUnknown 2025-10-08 12:37:22 +02:00
parent 8003b51605
commit 2b461b305e
2 changed files with 2 additions and 7 deletions

View file

@ -25,8 +25,8 @@
<meta name="theme-color" content="#FFFFFF">
<?php if (Dir::exists('assets/dist')): ?>
<script type="module" src="<?= url('assets/dist/index.js') ?>?version=<?= page('projects')->version()->value() ?>" defer></script>
<link rel="stylesheet" href="<?= url('assets/dist/index.css') ?>?version=<?= page('projects')->version()->value() ?>">
<script type="module" src="<?= url('assets/dist/index.js') ?>" defer></script>
<link rel="stylesheet" href="<?= url('assets/dist/index.css') ?>">
<?php else: ?>
<script type="module" src="http://localhost:5173/@vite/client" defer></script>
<script type="module" src="http://localhost:5173/src/main.js" defer></script>