fix(projects): avoid retrieving cached HTML (#605)
This commit is contained in:
parent
7fa55905fc
commit
ef6cf93d96
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user