@osovitny/anatoly 3.20.14 → 3.20.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10241,8 +10241,11 @@ class AppService extends ApiServiceBase {
10241
10241
  stopwatch.stop();
10242
10242
  stopwatch.printElapsedAsMilliseconds();
10243
10243
  if (data) {
10244
- sessionStorage.setItem(SessionStorageKeys.appCoreSettings, JSON.stringify(data.core));
10245
- sessionStorage.setItem(SessionStorageKeys.appMSALSettings, JSON.stringify(data.msal));
10244
+ let appCoreSettings = JSON.stringify(data.core);
10245
+ let appMSALSettings = JSON.stringify(data.msal);
10246
+ appCoreSettings = appCoreSettings.replace(/--APPNAME--/g, g_AppName);
10247
+ sessionStorage.setItem(SessionStorageKeys.appCoreSettings, appCoreSettings);
10248
+ sessionStorage.setItem(SessionStorageKeys.appMSALSettings, appMSALSettings);
10246
10249
  }
10247
10250
  }));
10248
10251
  }