diff --git a/lib/sinatra/static_assets.rb b/lib/sinatra/static_assets.rb index 88557fe..a3d4dfd 100644 --- a/lib/sinatra/static_assets.rb +++ b/lib/sinatra/static_assets.rb @@ -75,7 +75,7 @@ module Sinatra def source_url(source) url_with_timestamp = source_url_timestamp url_for(source) - ENV['asset_host'] + url_with_timestamp if ENV['asset_host'] + "#{ENV['asset_host']}#{url_with_timestamp}" end def source_url_timestamp(url)