oops
This commit is contained in:
		
							parent
							
								
									cc89f1bbd1
								
							
						
					
					
						commit
						0f2e10b168
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -50,7 +50,7 @@ function getBangredirectUrl() {
 | 
			
		|||
    return null;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  const match = query.match(/!([a-z]+)/i);
 | 
			
		||||
  const match = query.match(/!([a-z0-9]+)/i);
 | 
			
		||||
 | 
			
		||||
  const bangCandidate = match?.[1]?.toLowerCase();
 | 
			
		||||
  const selectedBang = bangs.find((b) => b.t === bangCandidate) ?? defaultBang;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue