Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-03 06:13:15 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-03 06:13:15 +0300
commit6f0447dba04ade76f8ea5fba59bbb48625afb9b6 (patch)
treee0fc195c1d510370d5ef3e90d31e0ef109f3b7b0 /lib/gitlab/blob_helper.rb
parent511c2bbab1ffd3832b734d7d8ee513fddf6edcb4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/blob_helper.rb')
-rw-r--r--lib/gitlab/blob_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/blob_helper.rb b/lib/gitlab/blob_helper.rb
index c5b183d113d..9e4ea934edb 100644
--- a/lib/gitlab/blob_helper.rb
+++ b/lib/gitlab/blob_helper.rb
@@ -47,7 +47,7 @@ module Gitlab
end
def image?
- ['.png', '.jpg', '.jpeg', '.gif', '.svg'].include?(extname.downcase)
+ ['.png', '.jpg', '.jpeg', '.gif', '.svg', '.webp'].include?(extname.downcase)
end
# Internal: Lookup mime type for extension.