caddy lables
This commit is contained in:
@@ -15,11 +15,9 @@ export class CustomHttpInterceptor implements HttpInterceptor {
|
|||||||
return next.handle(req)
|
return next.handle(req)
|
||||||
.pipe(tap((event: HttpEvent<any>) => {
|
.pipe(tap((event: HttpEvent<any>) => {
|
||||||
if (event instanceof HttpResponse) {
|
if (event instanceof HttpResponse) {
|
||||||
|
console.log('Interceptor увидел ответ:', event.url, 'status:', event.status, 'ok:', event.ok);
|
||||||
this.spinnerService.hide();
|
this.spinnerService.hide();
|
||||||
}
|
}
|
||||||
}, (error) => {
|
|
||||||
this.spinnerService.hide();
|
|
||||||
}))
|
}))
|
||||||
;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user