Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
alain
Open Schooling Navigator
Commits
73c756d3
Commit
73c756d3
authored
Oct 11, 2021
by
Lodewijk Loos
Browse files
made some config available via env vars
parent
d34a960b
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/gatsby-config.js
View file @
73c756d3
...
@@ -20,15 +20,15 @@ module.exports = {
...
@@ -20,15 +20,15 @@ module.exports = {
{
{
resolve
:
'
gatsby-plugin-matomo
'
,
resolve
:
'
gatsby-plugin-matomo
'
,
options
:
{
options
:
{
siteId
:
'
53
'
,
siteId
:
process
.
env
.
MATOMO_ID
||
'
53
'
,
matomoUrl
:
'
https://stats.waag.org/
'
,
matomoUrl
:
process
.
env
.
MATOMO_URL
||
'
https://stats.waag.org/
'
,
siteUrl
:
'
https://prototype.openschoolingnavigator.eu/
'
siteUrl
:
'
https://prototype.openschoolingnavigator.eu/
'
}
}
},
},
{
{
resolve
:
`gatsby-source-drupal`
,
resolve
:
`gatsby-source-drupal`
,
options
:
{
options
:
{
baseUrl
:
`https://openschoolingnavigator.eu/`
,
baseUrl
:
process
.
env
.
CMS_URL
||
`https://openschoolingnavigator.eu/`
,
skipFileDownloads
:
true
,
skipFileDownloads
:
true
,
},
},
},
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment