Sha256: 722e8c115145ec09d41947557a4261dff7d8bbec18d55fa451c5b1d566d75592
Contents?: true
Size: 594 Bytes
Versions: 15
Compression:
Stored size: 594 Bytes
Contents
require 'dragonfly' # Configure Dragonfly.app.configure do plugin :imagemagick, convert_command: `which convert`.strip.presence || '/usr/local/bin/convert', identify_command: `which identify`.strip.presence || '/usr/local/bin/identify' protect_from_dos_attacks true secret 'a7d8613dc92256d0c0a3665a05d8af1b5efa5f66394ffca74da74eb41cc590e4' url_format '/images/dynamic/:job/:basename.:ext' fetch_file_whitelist /public/ fetch_url_whitelist /.+/ end # Logger Dragonfly.logger = Rails.logger # Mount as middleware Rails.application.middleware.use Dragonfly::Middleware
Version data entries
15 entries across 15 versions & 2 rubygems