fix(asset): bust cached public assets

This commit is contained in:
SeekingGamer
2026-05-18 15:39:38 +08:00
parent b8103ea072
commit 61ef7c14de
10 changed files with 58 additions and 34 deletions

5
src/assets.ts Normal file
View File

@@ -0,0 +1,5 @@
const assetVersion = '20260518-1'
export function assetPath(path: string) {
return `${path}?v=${assetVersion}`
}