forked from OpenWF/SpaceNinjaServer
		
	fix: incomplete regex for stripped assets (#614)
This commit is contained in:
		
							parent
							
								
									d5c829e4fe
								
							
						
					
					
						commit
						066d07f8ba
					
				@ -12,7 +12,7 @@ cacheRouter.get(/^\/origin\/[a-zA-Z0-9]+\/[0-9]+\/H\.Cache\.bin.*$/, (req, res)
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cacheRouter.get(/\.bk2!/, async (req, res) => {
 | 
					cacheRouter.get(/^\/0\/Lotus\/.+!.+$/, async (req, res) => {
 | 
				
			||||||
    try {
 | 
					    try {
 | 
				
			||||||
        const dir = req.path.substr(0, req.path.lastIndexOf("/"));
 | 
					        const dir = req.path.substr(0, req.path.lastIndexOf("/"));
 | 
				
			||||||
        const file = req.path.substr(dir.length + 1);
 | 
					        const file = req.path.substr(dir.length + 1);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user