Skip to content

Commit

Permalink
fix(platform): disable animated offline banners
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartkloock committed Jan 25, 2024
1 parent 1cb8bc8 commit ee48d47
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions platform/api/src/api/v1/upload/image_upload/offline_banner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ impl ImageUploadRequest for OfflineBanner {
ImageFormat::PngStatic as i32,
ImageFormat::AvifStatic as i32,
ImageFormat::WebpStatic as i32,
ImageFormat::Gif as i32,
ImageFormat::Webp as i32,
ImageFormat::Avif as i32,
// Disable animated offline banners for now
// ImageFormat::Gif as i32,
// ImageFormat::Webp as i32,
// ImageFormat::Avif as i32,
],
callback_subject: format!("{}.{}", config.callback_subject, config.offline_banner_suffix),
limits: Some(image_processor::task::Limits {
Expand Down

0 comments on commit ee48d47

Please sign in to comment.