join asset_host
This commit is contained in:
parent
03449e9f33
commit
64d14463e8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user