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

6 lines
122 B
Ruby
Raw Normal View History

2011-12-30 04:28:49 +01:00
set :layout, false
activate :asset_host
set :asset_host do |asset|
"http://assets%d.example.com" % (asset.hash % 4)
end