in src/FhirDashboardJS/js/ConfigAuth.js [19:33]
getSmartOnFhirApps(callback) {
var authConfig = this;
authConfig.getFhirServerUrl(function (fhirServerUrl) {
if (authConfig.smartOnFhirApps) {
callback(fhirServerUrl, authConfig.smartOnFhirApps);
}
else {
$.getJSON('/config.json', function (data, status) {
authConfig.smartOnFhirApps = data.SmartOnFhirApps;
callback(fhirServerUrl, authConfig.smartOnFhirApps);
});
}
});
}