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
5
config/initializers/urls.rb
Normal file
5
config/initializers/urls.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
if Rails.env.production?
|
||||
SIADEURL = 'https://api.apientreprise.fr'
|
||||
else
|
||||
SIADEURL = 'https://api-dev.apientreprise.fr'
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue