Skip to content

Commit

Permalink
Fixed paths in ui/README
Browse files Browse the repository at this point in the history
  • Loading branch information
st-matskevich committed Oct 15, 2023
1 parent a315afd commit 924bd32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ Using runtime environment variables from React is a known problem because it pro
This is done by creating `env-config.js` in `public` folder and including it in the `index.html` file. `env-config.js` defines `REACT_APP_ENV` field in `window` object with all variables prefixed by `REACT_APP`.

Environment variables in runtime are implemented by two files:
- [setup-env-config.js](./setup-env-config.js) - is used in `package.json` to allow executing on all OSes and creates an initial version of `env-config.js` file
- [setup-env-config.jsx](./setup-env-config.jsx) - is used in `package.json` to allow executing on all OSes and creates an initial version of `env-config.js` file
- [setup-env-config.sh](./setup-env-config.sh) - is used as an additional entrypoint script in the production version of the service container and appends additional variables to `env-config.js` that were specified on container creation

0 comments on commit 924bd32

Please sign in to comment.