fix(asset): bust cached public assets
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
---
|
||||
import { assetPath } from '../assets'
|
||||
import type { Translations } from '../i18n/translations'
|
||||
|
||||
export interface Props {
|
||||
@@ -7,10 +8,10 @@ export interface Props {
|
||||
}
|
||||
|
||||
const { t, download } = Astro.props
|
||||
const heroBg = "/assets/hero-bg.png";
|
||||
const phoneMockup = "/assets/hero-phone.png";
|
||||
const androidIcon = "/assets/cta-android-icon.svg";
|
||||
const appleIcon = "/assets/cta-apple-icon.svg";
|
||||
const heroBg = assetPath("/assets/hero-bg.png");
|
||||
const phoneMockup = assetPath("/assets/hero-phone.png");
|
||||
const androidIcon = assetPath("/assets/cta-android-icon.svg");
|
||||
const appleIcon = assetPath("/assets/cta-apple-icon.svg");
|
||||
const defaultApkHref = "https://talkspro.xyz/download";
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user