settings inside service worker
This commit is contained in:
		
							
								
								
									
										3
									
								
								sw.js
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								sw.js
									
									
									
									
									
								
							| @ -1,4 +1,7 @@ | |||||||
|  |  | ||||||
|  | var home = "https://the-cake-is-a-lie.net/website/ultimate_tictactoe/"; | ||||||
|  | var rel_home = "/website/ultimate_tictactoe"; | ||||||
|  |  | ||||||
| self.addEventListener('install', function (e) { | self.addEventListener('install', function (e) { | ||||||
|   e.waitUntil( |   e.waitUntil( | ||||||
|     caches.open('your-magic-cache').then(function (cache) { |     caches.open('your-magic-cache').then(function (cache) { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user