mirror of
https://github.com/mempool/mempool.git
synced 2025-02-25 07:07:36 +01:00
Fix for non matching request URLs.
This commit is contained in:
parent
d0da875e69
commit
42d1fcbdee
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export class HttpCacheInterceptor implements HttpInterceptor {
|
|||
return next.handle(request)
|
||||
.pipe(tap((event: HttpEvent<any>) => {
|
||||
if (!this.isBrowser && event instanceof HttpResponse) {
|
||||
const keyId = request.url.split('/').slice(3).join('/');
|
||||
const keyId = request.url.split('/').slice(3).join('/').replace('api/v1/', '');
|
||||
this.transferState.set(makeStateKey('/' + keyId), event);
|
||||
}
|
||||
}));
|
||||
|
|
Loading…
Add table
Reference in a new issue