Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Feb 12, 2025
1 parent 0b8ed92 commit db4c502
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/CDN/Storage/CDNStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,8 @@ public static function getURL($filename)
}
if (preg_match('/m3u8$/', $filename)) {
$relativeFilename = $filename;
} else if (preg_match('/index.mp4$/', $filename)) {
$relativeFilename = $filename;
} else {
$relativeFilename = "{$paths['filename']}/{$filename}";
}
Expand Down

0 comments on commit db4c502

Please sign in to comment.