Skip to content

Commit

Permalink
change env var
Browse files Browse the repository at this point in the history
  • Loading branch information
fufeck committed Sep 25, 2023
1 parent ed95d35 commit f5ea48d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ADMIN_TOKEN=
API_DEPOT_URL=https://plateforme-bal.adresse.data.gouv.fr/api-depot
API_DEPOT_CLIENT_SECRET=
API_DEPOT_CLIENT_ID=
URL_API_BETA_GOUV=https://www.data.gouv.fr/api/1
URL_API_DATA_GOUV=https://www.data.gouv.fr/api/1

S3_ENDPOINT=https://s3.gra.io.cloud.ovh.net/
S3_CONTAINER_ID=
Expand Down
2 changes: 1 addition & 1 deletion lib/sources/datagouv.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const got = require('got')
const {chain} = require('lodash')

const URL_API_BETA_GOUV = process.env.URL_API_BETA_GOUV || 'https://www.data.gouv.fr/api/1'
const URL_API_BETA_GOUV = process.env.URL_API_DATA_GOUV || 'https://www.data.gouv.fr/api/1'
const PAGE_SIZE = 100
const TAG = 'base-adresse-locale'
const FORMAT = 'csv'
Expand Down

0 comments on commit f5ea48d

Please sign in to comment.