From a2961f05e3d6a373bda74dc83aa1ae0f3ce8f0a2 Mon Sep 17 00:00:00 2001 From: Chenx221 Date: Tue, 20 Feb 2024 16:23:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=88=A4=E6=96=AD=20=E5=90=88=E5=B9=B6js=E7=B1=BB?= =?UTF-8?q?=E5=88=AB=E5=88=B0code=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/FileTypeDetector.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/FileTypeDetector.php b/utils/FileTypeDetector.php index 96c05a9..0c45599 100644 --- a/utils/FileTypeDetector.php +++ b/utils/FileTypeDetector.php @@ -31,13 +31,12 @@ class FileTypeDetector 'zip', 'rar', '7z', 'tar', 'tar.gz', 'xz', 'cab' => 'fa-regular fa-file-zipper', 'mp3', 'wav', 'flac', 'acc', 'ogg', 'wma', 'ac3', 'm4a' => 'fa-regular fa-file-audio', 'mp4', 'mkv', '3gp', 'avi', 'flv', 'm4v', 'mov', 'mpeg', 'mpg', 'mpe', 'rm', 'wmv', 'webm' => 'fa-regular fa-file-video', - 'xhtml', 'asp', 'aspx', 'cgi', 'jsp', 'pl', 'phtml', 'php', 'html', 'htm', 'css', 'c', 'cpp', 'py', 'cs', 'ahk', 'as', 'au3', 'bat', 'fs', 'go', 'ipynb', 'kt', 'lua', 'o', 'ps1', 'ps1xml', 'psc1', 'psd1', 'psm1', 'pyc', 'pyo', 'r', 'rb', 'vbs', 'vb', 'cls', 'cc', 'cxx', 'cbp', 'csproj', 'h', 'hpp', 'hxx', 'vbg', 'vbp', 'vip', 'vbproj', 'vcproj', 'vdproj' => 'fa-regular fa-file-code', + 'xhtml','js', 'asp', 'aspx', 'cgi', 'jsp', 'pl', 'phtml', 'php', 'html', 'htm', 'css', 'c', 'cpp', 'py', 'cs', 'ahk', 'as', 'au3', 'bat', 'fs', 'go', 'ipynb', 'kt', 'lua', 'o', 'ps1', 'ps1xml', 'psc1', 'psd1', 'psm1', 'pyc', 'pyo', 'r', 'rb', 'vbs', 'vb', 'cls', 'cc', 'cxx', 'cbp', 'csproj', 'h', 'hpp', 'hxx', 'vbg', 'vbp', 'vip', 'vbproj', 'vcproj', 'vdproj' => 'fa-regular fa-file-code', 'abb', 'apk' => 'fa-brands fa-android', 'exe', 'appx', 'esd', 'wim', 'msi', 'cpl', 'com', 'dll' => 'fa-brands fa-windows', 'ass', 'srt' => 'fa-regular fa-closed-captioning', 'deb' => 'fa-brands fa-debian', 'java', 'jar', 'class' => 'fa-brands fa-java', - 'js' => 'fa-brands fa-js', 'iso', 'img', 'mds', 'mdx', 'dmg', 'cdi', 'cue' => 'fa-solid fa-compact-disc', 'vmdk', 'vhdx', 'vhd', 'vfd', 'vud', 'vdi', 'hdd', 'cow', 'qcow', 'qcow2', 'qed' => 'fa-regular fa-hard-drive', 'db', 'frm', 'mdb', 'mdf', 'myd', 'myi', 'sqlite', 'sql' => 'fa-solid fa-database',