From 00e2a4301502cde20d3934d6a649916982b701a2 Mon Sep 17 00:00:00 2001 From: Exynox Date: Sun, 8 Dec 2024 19:55:40 +0200 Subject: [PATCH] Fixed Ruffle fetch override for HTTPS --- resources/views/main/home.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/main/home.blade.php b/resources/views/main/home.blade.php index 3968a02..aa6f027 100644 --- a/resources/views/main/home.blade.php +++ b/resources/views/main/home.blade.php @@ -146,7 +146,7 @@ {{-- Override fetch of hardcoded URL in .swf file; https://github.com/ruffle-rs/ruffle/issues/1486 --}} (function (originalFetch) { const changeUrl = function (url) { - if (url === "http://dlcl.gfsrv.net/metin2/img/metin2_movie2.flv") + if (url.includes("/metin2/img/metin2_movie2.flv")) url = "{{ asset('assets/main/img/movies/metin2_movie2.flv') }}"; return url;