We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d088f81 commit a53eb10Copy full SHA for a53eb10
src/plugins/app.ts
@@ -92,7 +92,9 @@ export function setupAppVersionNotification() {
92
}
93
94
async function getHtmlBuildTime() {
95
- const res = await fetch(`/index.html?time=${Date.now()}`);
+ const baseUrl = import.meta.env.VITE_BASE_URL || '/';
96
+
97
+ const res = await fetch(`${baseUrl}index.html?time=${Date.now()}`);
98
99
const html = await res.text();
100
0 commit comments