Set Cordova app backend URL at runtime?

We are planning to use Cordova to publish our open-source app for download. Since the app is open-source, it can be deployed at various URLs. How can we allow users to specify the backend URL for the app to connect to after it is installed (e.g. not at build time but as a runtime configuration option)?