From 1e7dbec86b2c0bfae904afd0e3a1f295a58c38b3 Mon Sep 17 00:00:00 2001 From: Godwin Date: Sat, 12 Jul 2014 15:42:05 -0600 Subject: [PATCH] Error with CDN --- app/helpers/application_helper.rb | 1 - config/assets_cdn.yml | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0d42371..342a273 100644 --- a/app/helpers/application_helper.rb +++ b/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}" diff --git a/config/assets_cdn.yml b/config/assets_cdn.yml index 92cd7ca..5638a59 100644 --- a/config/assets_cdn.yml +++ b/config/assets_cdn.yml @@ -1,9 +1,9 @@ development: - enabled: false - host: assets.myapp.dev + enabled: false + host: bikebike.org production: - enabled: true - host: cdn.bikebike.org - protocol: https - fallback_protocol: http \ No newline at end of file + enabled: true + host: cdn.bikebike.org + protocol: https + fallback_protocol: http