comment console logs
This commit is contained in:
parent
cd09d72545
commit
2bc66542a6
@ -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);
|
||||
}),
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user