fix: Bypass browser cache for script.js
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ require_once '../api/db.php';
|
||||
// Penanda untuk script.js agar tahu konteks dashboard
|
||||
window.dashboardType = 'infra';
|
||||
</script>
|
||||
<script src="script.js"></script>
|
||||
<script src="script.js?v=<?= time(); ?>"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
+1
-1
@@ -133,7 +133,7 @@ require_once '../api/db.php';
|
||||
// Penanda untuk script.js agar tahu konteks dashboard
|
||||
window.dashboardType = 'sosial';
|
||||
</script>
|
||||
<script src="script.js"></script>
|
||||
<script src="script.js?v=<?= time(); ?>"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user