lib/sinatra/classy_assets.rb in classy_assets-0.3.0 vs lib/sinatra/classy_assets.rb in classy_assets-0.3.1
- old
+ new
@@ -19,9 +19,10 @@
config.debug = classy_config.debug_mode
config.digest = classy_config.asset_digest
config.environment = classy_config.sprockets
config.public_path = classy_config.public_path
config.prefix = "/#{classy_config.asset_prefix}"
+ config.protocol = classy_config.asset_host_protocol
if ::File.exists? manifest_file
config.manifest = ::Sprockets::Manifest.new(config.environment, manifest_file)
end
end