@ -3,7 +3,6 @@ import {
provideHttpClient,
withInterceptorsFromDi,
withXsrfConfiguration,
HTTP_INTERCEPTORS,
withFetch,
} from '@angular/common/http';
import { ModuleWithProviders, NgModule } from '@angular/core';
@ -35,7 +35,7 @@ export const transferStateInterceptor: HttpInterceptorFn = (
tap(event => {
if (isPlatformServer(platformId) && event instanceof HttpResponse) {
transferState.set(stateKey, event.body);
console.log(`Interceptor: ${req.urlWithParams} verisi TransferState'e kaydedildi.`);
console.log(`Interceptor: ${req.urlWithParams} is stored in TransferState.`);
}
}),
);
@ -18,6 +18,7 @@ export class AbpWindowService {
reloadPage(): void {
this.window.location.reload();
downloadBlob(blob: Blob, fileName: string) {
const blobUrl = this.window.URL.createObjectURL(blob);
const a = this.document.createElement('a');
@ -1,4 +1,4 @@
import { inject, Injector } from '@angular/core';
import { Injector } from '@angular/core';
import { HttpErrorResponse } from '@angular/common/http';
import { Params, Router } from '@angular/router';