mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-02 06:43:42 +08:00
fix(projects): avoid retrieving cached HTML (#605)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user