fix apientreprise url
This commit is contained in:
parent
01d680cc4e
commit
aa645f30d9
1 changed files with 5 additions and 1 deletions
|
@ -26,6 +26,10 @@ class SIADE::API
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.base_url
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue