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

View File

@@ -1,4 +1,5 @@
---
import { assetPath } from '../assets'
import type { Translations } from '../i18n/translations'
export interface Props {
@@ -6,7 +7,7 @@ export interface Props {
}
const { t } = Astro.props
const logoFull = "/assets/footer-logo.png";
const logoFull = assetPath("/assets/footer-logo.png");
---
<footer class="site-footer">