Closed eurolife closed 2 years ago
The API URL can now be set in a .env file in the root folder of the frontend app (in the app folder). If one doesn't exist in the container, it must be created. An .env.example file should exist in the repo for reference.
FYI this is a feature built into NextJS and you can read how it works here: https://nextjs.org/docs/basic-features/environment-variables
The changes from my previous PR #89 are also in this one.
I notice that this PR includes all the changes from PR #89 too? I don't think these changes should be included in this PR?
The API URL can now be set in a .env file in the root folder of the frontend app (in the app folder). If one doesn't exist in the container, it must be created. An .env.example file should exist in the repo for reference.
FYI this is a feature built into NextJS and you can read how it works here: https://nextjs.org/docs/basic-features/environment-variables
The changes from my previous PR #89 are also in this one.