Externalize in config file SIADE API URL.
This commit is contained in:
parent
a48299353e
commit
1c5cd471cd
3 changed files with 7 additions and 5 deletions
|
@ -38,10 +38,6 @@ class SIADE::API
|
|||
end
|
||||
|
||||
def self.base_url
|
||||
if Rails.env.production?
|
||||
'https://api.apientreprise.fr'
|
||||
else
|
||||
'https://api-dev.apientreprise.fr'
|
||||
end
|
||||
SIADEURL
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue