mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 08:17:32 -05:00 
			
		
		
		
	md5 flutter service worker
This commit is contained in:
		
							parent
							
								
									8529a71f14
								
							
						
					
					
						commit
						d61e497159
					
				@ -75,7 +75,7 @@
 | 
				
			|||||||
  <script>
 | 
					  <script>
 | 
				
			||||||
    if ('serviceWorker' in navigator) {
 | 
					    if ('serviceWorker' in navigator) {
 | 
				
			||||||
      window.addEventListener('load', function () {
 | 
					      window.addEventListener('load', function () {
 | 
				
			||||||
        navigator.serviceWorker.register('/flutter_service_worker.js?v={{sha1(time())}}');
 | 
					        navigator.serviceWorker.register('/flutter_service_worker.js?v={{ md5(public_path('flutter_service_worker.js')) }}');
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user