diff --git a/worker-custom-domain.js b/worker-custom-domain.js index d35e547..4ffc9c0 100644 --- a/worker-custom-domain.js +++ b/worker-custom-domain.js @@ -14,7 +14,7 @@ const IGNORE_EXTENSIONS = [ ".js", ".css", ".xml", ".less", ".png", ".jpg", ".jpeg", ".gif", ".pdf", ".doc", ".txt", ".ico", ".rss", ".zip", ".mp3", ".rar", ".exe", ".wmv", ".avi", ".ppt", ".mpg", ".mpeg", ".tif", ".wav", ".mov", ".psd", ".ai", ".xls", ".mp4", ".m4a", ".swf", ".dat", ".dmg", ".iso", ".flv", ".m4v", - ".torrent", ".woff", ".ttf", ".svg", ".webmanifest", + ".torrent", ".woff", ".woff2", ".ttf", ".otf", ".eot", ".svg", ".webp", ".avif", ".webmanifest", ]; function isRedirect(status) { diff --git a/worker-subscriber.js b/worker-subscriber.js index dc1524e..07552a6 100644 --- a/worker-subscriber.js +++ b/worker-subscriber.js @@ -31,9 +31,10 @@ const BOT_AGENTS = [ const IGNORE_EXTENSIONS = [ ".js", ".css", ".xml", ".less", ".png", ".jpg", ".jpeg", ".gif", ".pdf", ".doc", ".txt", ".ico", ".rss", ".zip", ".mp3", ".rar", ".exe", ".wmv", - ".doc", ".avi", ".ppt", ".mpg", ".mpeg", ".tif", ".wav", ".mov", ".psd", + ".avi", ".ppt", ".mpg", ".mpeg", ".tif", ".wav", ".mov", ".psd", ".ai", ".xls", ".mp4", ".m4a", ".swf", ".dat", ".dmg", ".iso", ".flv", - ".m4v", ".torrent", ".woff", ".ttf", ".svg", ".webmanifest", + ".m4v", ".torrent", ".woff", ".woff2", ".ttf", ".otf", ".eot", ".svg", + ".webp", ".avif", ".webmanifest", ]; export default {