comment console logs

This commit is contained in:
Dan Percic 2022-07-25 15:36:59 +03:00
parent cd09d72545
commit 2bc66542a6

View File

@ -14,11 +14,11 @@ export class HttpCacheInterceptor implements HttpInterceptor {
}
return this._cacheApiService.getCachedRequest(req).pipe(
tap(ok => {
console.log('[CACHE-API] got from cache', ok);
}),
// tap(ok => {
// console.log('[CACHE-API] got from cache', ok);
// }),
catchError(cacheError => {
console.log('[CACHE-API] Cache fetch error', cacheError, req.url);
// console.log('[CACHE-API] Cache fetch error', cacheError, req.url);
return this.sendRequest(req, next);
}),
);