feat(frontend): bump version badge + SW cache to v11 for deploy verification

This commit is contained in:
a2nr 2026-07-01 05:12:42 +07:00
parent c20b2d5a8e
commit 26ada16c4d
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<footer class="footer">
<div class="container">
<p>&copy; {env.PUBLIC_COPYRIGHT_TEXT || `${new Date().getFullYear()} Elemes LMS`} <span class="version-badge">v10</span></p>
<p>&copy; {env.PUBLIC_COPYRIGHT_TEXT || `${new Date().getFullYear()} Elemes LMS`} <span class="version-badge">v11</span></p>
{#if $authIsTeacher}
<p><a href="/progress" class="teacher-link">Laporan Progress Siswa</a></p>
{/if}

View File

@ -1,5 +1,5 @@
// static/sw.js
const CACHE_VERSION = 'elemes-v10';
const CACHE_VERSION = 'elemes-v11';
const STATIC_CACHE = `${CACHE_VERSION}-static`;
const API_CACHE = `${CACHE_VERSION}-api`;
const ASSET_CACHE = `${CACHE_VERSION}-assets`;