Add ajay.app to allowed domains

This is required for adding dearrow support currently.
This commit is contained in:
Kavin 2023-07-19 00:35:51 +01:00 committed by GitHub
parent 857b692b44
commit 401d1ba1fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {