middleman/middleman-core/fixtures/asset-host-app/config.rb

6 lines
122 B
Ruby
Raw Normal View History

set :layout, false
activate :asset_host
set :asset_host do |asset|
"http://assets%d.example.com" % (asset.hash % 4)
end