Fix preload cachebust
This commit is contained in:
		
							parent
							
								
									fd6375e17d
								
							
						
					
					
						commit
						2de283af8e
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -203,7 +203,10 @@
 | 
				
			||||||
              })
 | 
					              })
 | 
				
			||||||
              .then(function(jsonResponse) {
 | 
					              .then(function(jsonResponse) {
 | 
				
			||||||
                  jsonResponse.forEach((f) => {
 | 
					                  jsonResponse.forEach((f) => {
 | 
				
			||||||
                      fetch('gameasync/' + f).then().catch();
 | 
					                      const url = mapping[f.toLowerCase().replace(new RegExp("\\.[^/.]+$"), "")];
 | 
				
			||||||
 | 
					                      if (!url) return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                      fetch('gameasync/' + url).then().catch();
 | 
				
			||||||
                  });
 | 
					                  });
 | 
				
			||||||
              });
 | 
					              });
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue