More accessible, still not good environment based settings
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
if Rails.env.development?
|
||||
Mozo.event_host = "http://localhost:9296/faye"
|
||||
Mozo.event_host = 'http://localhost:9296/faye'
|
||||
Mozo.supplier_url = 'https://localhost:4202/supplier'
|
||||
Mozo.user_url = 'https://localhost:4201'
|
||||
else
|
||||
Mozo.event_host = "https://events.mozo.bar/faye"
|
||||
Mozo.event_host = "https://events.mozo.bar/faye"
|
||||
Mozo.supplier_url = "https://supplier.mozo.bar/supplier"
|
||||
Mozo.user_url = 'https://user.mozo.bar'
|
||||
end
|
||||
|
||||
Mozo.broadcaster = Mozo::Broadcaster::Faye.new
|
||||
|
||||
Reference in New Issue
Block a user