mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	fix: use console.info instead of console.log for sw registration
This commit is contained in:
		| @@ -761,9 +761,9 @@ app.cacheBuster = null; | |||||||
| 		if ('serviceWorker' in navigator) { | 		if ('serviceWorker' in navigator) { | ||||||
| 			navigator.serviceWorker.register('/service-worker.js') | 			navigator.serviceWorker.register('/service-worker.js') | ||||||
| 				.then(function () { | 				.then(function () { | ||||||
| 					console.log('ServiceWorker registration succeeded.'); | 					console.info('ServiceWorker registration succeeded.'); | ||||||
| 				}).catch(function (err) { | 				}).catch(function (err) { | ||||||
| 					console.log('ServiceWorker registration failed: ', err); | 					console.info('ServiceWorker registration failed: ', err); | ||||||
| 				}); | 				}); | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user