about summary refs log tree commit diff
path: root/app/models/concerns/account_header.rb
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2022-06-06 14:06:41 -0500
committerStarfall <us@starfall.systems>2022-06-06 14:06:41 -0500
commit6e1ebaca0d241d3e9047382e47d7b7136bc4d404 (patch)
tree4257f127bd9f10897182914602b31b1ecef401f7 /app/models/concerns/account_header.rb
parentbd872c93333b90f85d90bc60f5690537bee15ee2 (diff)
parent3d841eba69b340aac4f012fb388f9e9761ec2ba5 (diff)
Merge remote-tracking branch 'glitch/main'
Diffstat (limited to 'app/models/concerns/account_header.rb')
-rw-r--r--app/models/concerns/account_header.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/account_header.rb b/app/models/concerns/account_header.rb
index 72a3d0566..a8c0a28ef 100644
--- a/app/models/concerns/account_header.rb
+++ b/app/models/concerns/account_header.rb
@@ -3,7 +3,7 @@
 module AccountHeader
   extend ActiveSupport::Concern
 
-  IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif'].freeze
+  IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif', 'image/webp'].freeze
   LIMIT = 2.megabytes
   MAX_PIXELS = 750_000 # 1500x500px