Below code can be used to determine different config value based on the environment the code is running in. “`//Environment Specifc Variable //Environment Specifc Variable Center.Config = { Local: { Api: ‘https://localhost:44300/’ }, Dev: { Api: ‘https://dev.center.com/’ }, QA: { Api: ‘https://qa.center.com/’ }, Production: { Api: ‘https://prod.center.com/’ }, getValue: function (key) { var env; switch […]

Read More →