Skip to content

Commit

Permalink
Fix missing env changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jhanninen committed Sep 3, 2024
1 parent 801d10e commit 36fd117
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ARG APP_REACT_APP_DIGITRANSIT_API_KEY
ENV REACT_APP_DIGITRANSIT_API_KEY=${APP_REACT_APP_DIGITRANSIT_API_KEY}

ARG APP_DOMAIN
ENV DOMAIN_NAME=${APP_DOMAIN}
ENV APP_DOMAIN=${APP_DOMAIN}

ARG APP_BUILD_DATE
ENV BUILD_DATE=${APP_BUILD_DATE}
Expand Down
2 changes: 1 addition & 1 deletion config/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function getClientEnvironment(publicUrl) {
// images into the `src` and `import` them in code to get their paths.
PUBLIC_URL: publicUrl,
ENVIRONMENT: process.env.ENVIRONMENT,
DOMAIN_NAME: process.env.DOMAIN_NAME,
APP_DOMAIN: process.env.APP_DOMAIN,
BUILD_DATE: process.env.BUILD_DATE,
REACT_APP_DIGITRANSIT_API_KEY: process.env.REACT_APP_DIGITRANSIT_API_KEY
}
Expand Down
2 changes: 1 addition & 1 deletion config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ module.exports = {
'process.env.REACT_APP_DIGITRANSIT_API_KEY': JSON.stringify(process.env.REACT_APP_DIGITRANSIT_API_KEY)
}),
new webpack.DefinePlugin({
'process.env.DOMAIN_NAME': JSON.stringify(process.env.DOMAIN_NAME)
'process.env.APP_DOMAIN': JSON.stringify(process.env.APP_DOMAIN)
}),
new webpack.DefinePlugin({
'process.env.BUILD_DATE': JSON.stringify(process.env.BUILD_DATE)
Expand Down

0 comments on commit 36fd117

Please sign in to comment.