I have tried to access the env variable in index html but it was not working.
then tried placing the code in Header or app components HTML which is also not working and instead creating other issues.
Later I decided to go with the separate index for production and created and configured that file. it's working as expected
I have tried to access the env variable in index html but it was not working. then tried placing the code in Header or app components HTML which is also not working and instead creating other issues. Later I decided to go with the separate index for production and created and configured that file. it's working as expected