mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	added innertube stuff
This commit is contained in:
		
							parent
							
								
									fd3a49d2c1
								
							
						
					
					
						commit
						bfee31e39f
					
				| @ -177,6 +177,7 @@ toobusy.maxLag(3500); | |||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       const a = 890; |       const a = 890; | ||||||
|  |        | ||||||
|       if (!req.url.match(/^\/(css|js|img|font)\/.+/)) { |       if (!req.url.match(/^\/(css|js|img|font)\/.+/)) { | ||||||
|         res.setHeader("Cache-Control", "public, max-age=" + a); // cache header
 |         res.setHeader("Cache-Control", "public, max-age=" + a); // cache header
 | ||||||
|         res.setHeader("poketube-cacher", "PAGE"); |         res.setHeader("poketube-cacher", "PAGE"); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley ////
						Ashley ////