```ruby
# frozen_string_literal: true

class SiteFigureUploader < CarrierWave::Uploader::Base
  include CarrierWave::MiniMagick

  def store_dir
    'uploads' \
      "/#{model.class.to_s.underscore}" \
      "/#{mounted_as}/#{model.id}"
  end

  def default_url(*)
    ActionController::Base
      .helpers
      .asset_path('about/about-img.jpg')
  end

  process resize_to_fill: [570, 360]

  def extension_whitelist
    %w[png]
  end

  def filename
    'about.png' if original_filename
  end
end
```

Fix site figure file extension constraint incorrect
user
```ruby
# frozen_string_literal: true

class SiteFigureUploader < CarrierWave::Uploader::Base
  include CarrierWave::MiniMagick

  def store_dir
    'uploads' \
      "/#{model.class.to_s.underscore}" \
      "/#{mounted_as}/#{model.id}"
  end

  def default_url(*)
    ActionController::Base
      .helpers
      .asset_path('about/about-img.jpg')
  end

  process resize_to_fill: [570, 360]

  def extension_whitelist
    %w[png jpg jpeg]
  end

  def filename
    'about.png' if original_filename
  end
end
```
assistant