Fixed Ruffle fetch override for HTTPS
This commit is contained in:
parent
a1d47b633e
commit
00e2a43015
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user