From 401d1ba1fed21a4a01aa9b04b7122839e89bdd63 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Wed, 19 Jul 2023 00:35:51 +0100 Subject: [PATCH] Add ajay.app to allowed domains This is required for adding dearrow support currently. --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b4fd558..39a4a46 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,7 +52,7 @@ static CLIENT: Lazy = 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) {