mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	search bar fixes :3
This commit is contained in:
		
							parent
							
								
									39696765d2
								
							
						
					
					
						commit
						d393ba26ef
					
				| @ -68,9 +68,9 @@ module.exports = function (app, config, renderTemplate) { | ||||
| 
 | ||||
|     const poketube_universe_value = "poketube_smart_search"; | ||||
| 
 | ||||
|     if (query.includes("youtube.com")) { | ||||
|     if (query?.includes("youtube.com")) { | ||||
|       try { | ||||
|         var videoid = query.split("v="); | ||||
|         var videoid = query?.split("v="); | ||||
| 
 | ||||
|         res.redirect("/watch?v=" + videoid[1]); | ||||
|       } catch { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley