mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	optimize code owo
This commit is contained in:
		
							parent
							
								
									18bb13b18e
								
							
						
					
					
						commit
						ae9e80b5e5
					
				| @ -158,15 +158,24 @@ module.exports = function (app, config, renderTemplate) { | ||||
|           return null; | ||||
|         } | ||||
|       }; | ||||
|        | ||||
|        | ||||
|       var tj = await getChannelData( | ||||
|         `https://invid-api.poketube.fun/api/v1/channels/videos/${ID}/?sort_by=${sort_by}${continuation}` | ||||
|       ); | ||||
|             | ||||
|       if(tab === "shorts") { | ||||
|       var shorts = await getChannelData( | ||||
|         `https://invid-api.poketube.fun/api/v1/channels/${ID}/shorts?sort_by=${sort_by}${continuations}` | ||||
|       ); | ||||
|       }  | ||||
|        | ||||
|       if(tab === "live") { | ||||
|       var stream = await getChannelData( | ||||
|         `https://invid-api.poketube.fun/api/v1/channels/${ID}/streams?sort_by=${sort_by}${continuationl}` | ||||
|       ); | ||||
|       } | ||||
|        | ||||
|       var c = await getChannelData( | ||||
|         `https://invid-api.poketube.fun/api/v1/channels/community/${ID}/` | ||||
|       ); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley