fix: stop unwrapping the CORS proxy for aniziumserver hosts client-side

proxyUrl() in player.blade.php listed aniziumserver.sbs/site/com in
DIRECT_CORS_HOSTS, so it unwrapped the server's /stream/proxy URLs and
tried loading them directly from the browser. That CORS assumption is
no longer true (confirmed via browser console), which silently undid
the PlayerController fix from the previous commit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
AyrisAI
2026-08-18 11:58:45 +03:00
co-authored by Claude Sonnet 5
parent c891d77ae1
commit 80eff2ca8c
+2 -2
View File
@@ -1941,10 +1941,10 @@ const IS_AUTH = {{ auth()->check() ? 'true' : 'false' }};
})();
// CORS açık CDN'ler — doğrudan tarayıcıdan yükle (sunucu proxy YOK).
// Anizium mirror'ları animexe.com'a CORS izni veriyor + referer'sız 200 dönüyor.
// NOT: aniziumserver.sbs/site/com buradan bilerek çıkarıldı — CORS izni
// vermiyorlar (browser console'da doğrulandı), proxy'den geçmeleri gerekiyor.
const DIRECT_CORS_HOSTS = [
'anizium.co',
'aniziumserver.sbs', 'aniziumserver.site', 'aniziumserver.com',
'misakina.asia', 'misakina.cfd',
'irtau1.online',
'tsuriko-1.asia', 'tsuriko-2.asia', 'tsuriko-3.asia',