fix broken service worker
This commit is contained in:
		
							parent
							
								
									2ee0eabc72
								
							
						
					
					
						commit
						50b6269b35
					
				| @ -1,5 +1,5 @@ | ||||
| import { Workbox } from 'workbox-window'; | ||||
| if ('serviceWorker' in navigator) { | ||||
| 	const { Workbox } = new Workbox('service-worker.js'); | ||||
| 
 | ||||
| 	const wb = new Workbox('/service-worker.js'); | ||||
| 	wb.addEventListener('activated', event => { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Alberto Xamin
						Alberto Xamin