Skip to content

Commit

Permalink
Add webp to content types in active storage
Browse files Browse the repository at this point in the history
  • Loading branch information
laurajaime committed Jan 2, 2024
1 parent 747c677 commit 29907bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class Application < Rails::Application
config.active_record.default_timezone = :local
config.active_record.time_zone_aware_attributes = false

config.active_storage[:variable_content_types] << "image/webp"

# Make decorators available
config.to_prepare do
# activate Decidim LayoutHelper for the overriden views
Expand Down

0 comments on commit 29907bd

Please sign in to comment.