Skip to content

Commit

Permalink
fix(config): énième correction
Browse files Browse the repository at this point in the history
  • Loading branch information
thom4parisot committed Oct 21, 2024
1 parent 4af0ea2 commit 6ef6834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions export/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = convict({
default: 'http://localhost:3030/graphql'
},
passthroughToken: {
format: 'string',
format: String,
sensitive: true,
env: 'SE_GRAPHQL_TOKEN',
default: null
Expand All @@ -30,7 +30,7 @@ module.exports = convict({
export: {
// legacy option
canonicalBaseUrl: {
format: 'url',
format: String,
env: 'EXPORT_CANONICAL_BASE_URL',
default: 'http://127.0.0.1:3060'
},
Expand Down
2 changes: 1 addition & 1 deletion graphql/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ convict.addFormat(require('convict-format-with-validator').url)
module.exports = convict({
export: {
baseUrl: {
format: 'url',
format: String,
env: 'EXPORT_CANONICAL_BASE_URL',
default: 'http://127.0.0.1:3060'
},
Expand Down

0 comments on commit 6ef6834

Please sign in to comment.