Infrastructure connection updates
This commit is contained in:
@@ -252,11 +252,13 @@ Devise.setup do |config|
|
||||
# config.omniauth :facebook, "505160086210072", "fcc474a3fb13c6bcc0f7c83a92ad1b17",
|
||||
# scope: 'email,user_birthday,publish_actions'
|
||||
config.omniauth :facebook, "653729178057509", "d4cea86f70803f1b75ed03c506a4d78e",
|
||||
scope: 'email,user_birthday,user_gender,user_hometown,user_link,user_location'
|
||||
scope: 'email,user_birthday,user_gender,user_hometown,user_link,user_location',
|
||||
provider_ignores_state: true
|
||||
config.omniauth :instagram, "cd7bdfbee825499b94fb3783d1bc143b", "6b4f9ecf251c462993a696eebc0189be"
|
||||
else
|
||||
config.omniauth :facebook, "168928633304849", "22bc53e1a390c1e62d004195c55fe336",
|
||||
scope: 'email,user_birthday,user_gender,user_hometown,user_link,user_location'
|
||||
scope: 'email,user_birthday,user_gender,user_hometown,user_link,user_location',
|
||||
provider_ignores_state: true
|
||||
config.omniauth :instagram, "81c78b969a7046d6b6b5b5fe3f30929c", "3697c16762ad4f1ca088e829efbaddde"
|
||||
end
|
||||
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
Qwaiter.event_host = "http://#{(Rails.env.development? or Rails.env.test?) ? ENV['MOZO_LOCAL_IP'] || 'localhost' : 'events.mozo.bar'}:9296/faye"
|
||||
if Rails.env.development?
|
||||
Qwaiter.event_host = "https://events.mozo.local:9296/faye"
|
||||
else
|
||||
Qwaiter.event_host = "https://events.mozo.bar:9296/faye"
|
||||
end
|
||||
|
||||
Qwaiter.broadcaster = Qwaiter::Broadcaster::Faye.new
|
||||
|
||||
# use the connection from couchbase-structures/documents
|
||||
|
||||
Reference in New Issue
Block a user