How can read poperties file based environment?

I import properties file config.js in index.html read some poperties like ‘urls’, now i have enviroment ( local, dev, staging ) the urls must be changed based on the enviroment how can do this ?

config.js

index.html

It seems to be an issue related more to bpmn-js than Camunda Modeler. Can you please create a topic in bpmn.io forum: https://forum.bpmn.io/?

In the topic, please share a running / prototypical example that clearly shows what you’re trying to achieve, what is working and what is not.

Use our existing starter projects to quickly hack it or share your existing, partial solution on GitHub. Provide the necessary pointers that allow us to quickly understand where you got stuck.

This way we may be able to help you in a constructive manner.

Thanks :heart: