Browse Source

Error with CDN

development
Godwin 10 years ago
parent
commit
1e7dbec86b
  1. 1
      app/helpers/application_helper.rb
  2. 2
      config/assets_cdn.yml

1
app/helpers/application_helper.rb

@ -450,7 +450,6 @@ module ApplicationHelper
open(file, 'wb') do |f|
f << open(url).read
end
#FileUtils.cp url, file
end
"maps/#{local_file_name}"

2
config/assets_cdn.yml

@ -1,6 +1,6 @@
development:
enabled: false
host: assets.myapp.dev
host: bikebike.org
production:
enabled: true

Loading…
Cancel
Save