I would like to add an environment variables with parameters. something like:
URL= https://my-domain.com/test/${value}?code=7NqsdKgBKw
and calculate the value in js.
const value = Math.random();
fetch(process.env.URL);
how can I get the same effect as using literals?
const value = Math.random();
fetch(`https://my-domain.com/test/${value}?code=7NqsdKgBKw`);