diff --git a/src/plugins/app.ts b/src/plugins/app.ts index c54601ca7..6dc88fed7 100644 --- a/src/plugins/app.ts +++ b/src/plugins/app.ts @@ -52,9 +52,7 @@ export function setupAppVersionNotification() { } async function getHtmlBuildTime() { - const baseURL = import.meta.env.VITE_BASE_URL; - - const res = await fetch(`${baseURL}index.html`); + const res = await fetch(`/index.html?time=${Date.now()}`); const html = await res.text();