forked from OpenWF/SpaceNinjaServer
		
	fix(webui): 404 for favicon.ico with 'npm run build'
This commit is contained in:
		
							parent
							
								
									02f4d0e821
								
							
						
					
					
						commit
						212a5e7035
					
				@ -40,7 +40,7 @@ webuiRouter.use("/webui", express.static(path.join(rootDir, "static/webui")));
 | 
			
		||||
 | 
			
		||||
// Serve favicon
 | 
			
		||||
webuiRouter.get("/favicon.ico", (_req, res) => {
 | 
			
		||||
    res.sendFile(path.join(rootDir, "static/fixed_responses/favicon.ico"));
 | 
			
		||||
    res.sendFile(path.join(repoDir, "static/fixed_responses/favicon.ico"));
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
// Serve warframe-riven-info
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user