AnsweredAssumed Answered

load config at runtime

Question asked by lkoumis on Jul 19, 2017

I have a number of config.json files under the config folder of the app and I was wondering if I can select the config.json file based on the user's action at runtime.  In other words, can I use something like this.config="configA.json"? If yes, what is the proper path syntax to point to the correct json file? 

I know another way is to use the custom config as a url parameter but this app is not possible.

 

Ideas?

 

Thank you.

Outcomes