Closed qlereboursBS closed 1 year ago
environments/local is empty. run yarn set:env:dev
Hello @laogui thanks for your help In fact, I already run the commands in the README.md that allows to copy what's in the dev config file into the local config file, so the local config file isn't empty What I'm saying with this issue, is that when you edit the config file, it won't be taken into account and will crash the app, you'll have to re-run the project. I want to find a way to make it dynamic, so that we can edit the config without having to start the project again :)
Description
Currently, when I edit the local config and run a
yarn set:env:local
, it breaks (using Android at least), saying that:Then another bug occurs if I change the API_URL in the
src/environement/config.js
file:Cannot read property baseUrl of undefined
.Steps to reproduce (the second bug)
src/environement/config.js
to make it valid