lib/exvo_helpers/helpers.rb in exvo_helpers-0.3.0 vs lib/exvo_helpers/helpers.rb in exvo_helpers-0.4.0

- old
+ new

@@ -115,10 +115,11 @@ # by default fall back to production; this way the omniauth-exvo's gem specs can pass # (they depend on this gem and on env, but nor Rails nor Merb is undefined there) def self.env @@env ||= Rails.env if defined?(Rails) @@env ||= Merb.env if defined?(Merb) + @@env ||= ENV["RACK_ENV"] if ENV["RACK_ENV"] @@env ||= 'production' end def self.env=(env) @@env = env @@ -151,13 +152,13 @@ :cdn_host => 'd1by559a994699.cloudfront.net', :cfs_host => 'staging.cfs.exvo.com', :desktop_host => 'www.exvo.co', :themes_host => 'staging.themes.exvo.com', :blog_host => 'staging.blog.exvo.com', - :contacts_host => 'exvo-contacts-staging.heroku.com', - :inbox_host => 'exvo-inbox-staging.heroku.com', - :music_host => 'exvo-music-staging.heroku.com', - :pics_host => 'exvo-pictures-staging.heroku.com', + :contacts_host => 'staging.contacts.exvo.com', + :inbox_host => 'staging.inbox.exvo.com', + :music_host => 'staging.music.exvo.com', + :pics_host => 'staging.pics.exvo.com', :preview_host => 'staging.preview.exvo.com' }, :development => { :auth_debug => false, :auth_host => 'auth.exvo.local',