mirror of
				https://github.com/TeamPiped/piped-proxy.git
				synced 2024-08-14 23:50:45 +00:00 
			
		
		
		
	Add ajay.app to allowed domains
This is required for adding dearrow support currently.
This commit is contained in:
		
							parent
							
								
									857b692b44
								
							
						
					
					
						commit
						401d1ba1fe
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -52,7 +52,7 @@ static CLIENT: Lazy<Client> = Lazy::new(|| {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const ALLOWED_DOMAINS: [&str; 7] = [
 | 
					const ALLOWED_DOMAINS: [&str; 8] = [
 | 
				
			||||||
    "youtube.com",
 | 
					    "youtube.com",
 | 
				
			||||||
    "googlevideo.com",
 | 
					    "googlevideo.com",
 | 
				
			||||||
    "ytimg.com",
 | 
					    "ytimg.com",
 | 
				
			||||||
| 
						 | 
					@ -60,6 +60,7 @@ const ALLOWED_DOMAINS: [&str; 7] = [
 | 
				
			||||||
    "googleusercontent.com",
 | 
					    "googleusercontent.com",
 | 
				
			||||||
    "lbryplayer.xyz",
 | 
					    "lbryplayer.xyz",
 | 
				
			||||||
    "odycdn.com",
 | 
					    "odycdn.com",
 | 
				
			||||||
 | 
					    "ajay.app",
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
fn add_headers(response: &mut HttpResponseBuilder) {
 | 
					fn add_headers(response: &mut HttpResponseBuilder) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue