Error with CDN
This commit is contained in:
parent
466e7fccc5
commit
1e7dbec86b
@ -450,7 +450,6 @@ module ApplicationHelper
|
|||||||
open(file, 'wb') do |f|
|
open(file, 'wb') do |f|
|
||||||
f << open(url).read
|
f << open(url).read
|
||||||
end
|
end
|
||||||
#FileUtils.cp url, file
|
|
||||||
end
|
end
|
||||||
|
|
||||||
"maps/#{local_file_name}"
|
"maps/#{local_file_name}"
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
development:
|
development:
|
||||||
enabled: false
|
enabled: false
|
||||||
host: assets.myapp.dev
|
host: bikebike.org
|
||||||
|
|
||||||
production:
|
production:
|
||||||
enabled: true
|
enabled: true
|
||||||
host: cdn.bikebike.org
|
host: cdn.bikebike.org
|
||||||
protocol: https
|
protocol: https
|
||||||
fallback_protocol: http
|
fallback_protocol: http
|
||||||
|
Loading…
x
Reference in New Issue
Block a user