Keep SSL sessions alive between xhr2 requests

This commit is contained in:
Yury Bondarenko
2023-01-13 17:54:39 +01:00
parent e4f483c308
commit 1e20551d2a
2 changed files with 57 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ import { AuthRequestService } from '../../app/core/auth/auth-request.service';
import { ServerAuthRequestService } from '../../app/core/auth/server-auth-request.service';
import { CorrelationIdService } from '../../app/correlation-id/correlation-id.service';
import { AppConfig, APP_CONFIG_STATE } from '../../config/app-config.interface';
import { XhrFactory } from '@angular/common';
import { ServerXhrService } from '../../app/core/services/server-xhr.service';
import { environment } from '../../environments/environment';
@@ -121,6 +123,10 @@ export function createTranslateLoader() {
provide: HardRedirectService,
useClass: ServerHardRedirectService,
},
{
provide: XhrFactory,
useClass: ServerXhrService,
},
]
})
export class ServerAppModule {