From 6b30b53ad1fc7fa59d9ed073ee0a36d3c610699a Mon Sep 17 00:00:00 2001 From: root Date: Tue, 7 Jul 2020 09:58:51 +0200 Subject: [PATCH] added webp into image list and to non-page list --- wwwroot/cgi-bin/awstats.pl | 3 ++- wwwroot/cgi-bin/lib/mime.pm | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 3a3d4c6f..9ec56df7 100755 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -1789,7 +1789,8 @@ sub Read_Config { 'png' => 1, 'bmp' => 1, 'ico' => 1, - 'swf' => 1 + 'swf' => 1, + 'webp' => 1 ); } diff --git a/wwwroot/cgi-bin/lib/mime.pm b/wwwroot/cgi-bin/lib/mime.pm index bb9aa6cf..2fe1e492 100644 --- a/wwwroot/cgi-bin/lib/mime.pm +++ b/wwwroot/cgi-bin/lib/mime.pm @@ -126,6 +126,7 @@ 'heic',['image','i'], 'tif',['image','i'], 'tiff',['image','i'], +'webp',['image','i'], # Document 'ai',['document','d'], 'doc',['document','d'], -- 2.47.2