mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	Update html/search.ejs
This commit is contained in:
		
							parent
							
								
									c264af305d
								
							
						
					
					
						commit
						4ac19500e3
					
				| @ -655,7 +655,7 @@ const fakeNewsSources = { | ||||
|         search: "Is it true that The Sun publishes exaggerated or false stories?"  | ||||
|     } | ||||
| }; | ||||
| > | ||||
| 
 | ||||
| const normalizedQuery = q.toLowerCase().replace(/\s+/g, ''); | ||||
| const matchedSource = Object.keys(fakeNewsSources).find(source => normalizedQuery.includes(source.toLowerCase().replace(/\s+/g, ''))); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley