In the root of my React project, I have this .env file containing the following.
DS_API_URL=[http://url.com](http:url.com/)
In another file of the project, an axios call utilizes this to return some stuff.
const url = 'http://url.com/graph/tech-stack-by-role'
will return what I need.
const url = `${DS_API_URL}/graph/tech-stack-by-role`;
returns an error.
How do I fetch the link from the env file and assign it to a var?