mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add headers :3
This commit is contained in:
		
							parent
							
								
									667fa80d01
								
							
						
					
					
						commit
						3b6549853e
					
				| @ -124,6 +124,9 @@ this is our config file,you can change stuff here | ||||
|   }); | ||||
| 
 | ||||
|   app.use(function (req, res, next) { | ||||
|    res.header("X-PokeTube-Youtube-Client-Name", "1"); | ||||
|    res.header("X-PokeTube-Youtube-Client-Version", "2.20210721.00.00"); | ||||
|      | ||||
|     if (req.url.match(/^\/(css|js|img|font)\/.+/)) { | ||||
|       res.setHeader( | ||||
|         "Cache-Control", | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley