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
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,7 @@ static CLIENT: Lazy<Client> = Lazy::new(|| {
}
});
const ALLOWED_DOMAINS: [&str; 7] = [
const ALLOWED_DOMAINS: [&str; 8] = [
"youtube.com",
"googlevideo.com",
"ytimg.com",
@ -60,6 +60,7 @@ const ALLOWED_DOMAINS: [&str; 7] = [
"googleusercontent.com",
"lbryplayer.xyz",
"odycdn.com",
"ajay.app",
];
fn add_headers(response: &mut HttpResponseBuilder) {