diff --git a/index.php b/index.php index 5e277c1..a6b3f71 100644 --- a/index.php +++ b/index.php @@ -71,7 +71,7 @@ exit(); } -$allowedExtensions = ['jpg', 'jpeg', 'png', 'gif', 'webp']; +$allowedExtensions = ['jpg', 'jpeg', 'png', 'gif', 'webp', 'css', 'js']; if(!in_array(strtolower($sourceExt), $allowedExtensions) || !in_array(strtolower($targetExt), $allowedExtensions)) { debug("\t Extension not allowed: $sourceExt", $debugMode);