Adding preview environment

This commit is contained in:
Godwin
2015-05-02 17:41:41 -07:00
parent 98b3013e3e
commit d151e37e2e
5 changed files with 10 additions and 5 deletions
+2
View File
@@ -1,5 +1,7 @@
CarrierWave.configure do |config|
if Rails.env == "production"
config.asset_host = "https://cdn.bikebike.org"
elsif Rails.env == "preview"
config.asset_host = "https://preview-cdn.bikebike.org"
end
end