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
+2 -1
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) {