mirror of
				https://github.com/soybeanjs/soybean-admin.git
				synced 2025-11-04 15:53:43 +08:00 
			
		
		
		
	feat(projects): app version notification plugin support sub deploy path. close #668
This commit is contained in:
		@@ -92,7 +92,9 @@ export function setupAppVersionNotification() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
async function getHtmlBuildTime() {
 | 
			
		||||
  const res = await fetch(`/index.html?time=${Date.now()}`);
 | 
			
		||||
  const baseUrl = import.meta.env.VITE_BASE_URL || '/';
 | 
			
		||||
 | 
			
		||||
  const res = await fetch(`${baseUrl}index.html?time=${Date.now()}`);
 | 
			
		||||
 | 
			
		||||
  const html = await res.text();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user