Merge pull request #3057 from pengfeidong/fix_3056_all_url_api_in_env
[Fix #3056] get url api in the environment variable
This commit is contained in:
commit
d8185da854
1 changed files with 6 additions and 6 deletions
|
@ -1,11 +1,11 @@
|
|||
# API URLs
|
||||
API_ADRESSE_URL = "https://api-adresse.data.gouv.fr"
|
||||
API_CARTO_URL = "https://apicarto.sgmap.fr"
|
||||
API_ENTREPRISE_URL = "https://entreprise.api.gouv.fr/v2"
|
||||
API_ADRESSE_URL = ENV.fetch("API_ADRESSE_URL", "https://api-adresse.data.gouv.fr")
|
||||
API_CARTO_URL = ENV.fetch("API_CARTO_URL", "https://apicarto.sgmap.fr")
|
||||
API_ENTREPRISE_URL = ENV.fetch("API_ENTREPRISE_URL", "https://entreprise.api.gouv.fr/v2")
|
||||
API_GEO_URL = ENV.fetch("API_GEO_URL", "https://geo.api.gouv.fr")
|
||||
API_GEO_SANDBOX_URL = "https://sandbox.geo.api.gouv.fr"
|
||||
HELPSCOUT_API_URL = "https://api.helpscout.net/v2"
|
||||
PIPEDRIVE_API_URL = "https://api.pipedrive.com/v1"
|
||||
API_GEO_SANDBOX_URL = ENV.fetch("API_GEO_SANDBOX_URL", "https://sandbox.geo.api.gouv.fr")
|
||||
HELPSCOUT_API_URL = ENV.fetch("HELPSCOUT_API_URL", "https://api.helpscout.net/v2")
|
||||
PIPEDRIVE_API_URL = ENV.fetch("PIPEDRIVE_API_URL", "https://api.pipedrive.com/v1")
|
||||
|
||||
# Internal URLs
|
||||
FOG_BASE_URL = "https://static.demarches-simplifiees.fr"
|
||||
|
|
Loading…
Reference in a new issue