fix apientreprise url

This commit is contained in:
Tanguy PATTE 2015-09-01 15:33:00 +02:00
parent 01d680cc4e
commit aa645f30d9

View file

@ -26,6 +26,10 @@ class SIADE::API
end
def self.base_url
'https://api-dev.apientreprise.fr'
if Rails.env.production?
'https://apientreprise.fr'
else
'https://api-dev.apientreprise.fr'
end
end
end