refactor: remove debug trace from ApiEndpointInterceptor
This commit is contained in:
@@ -19,7 +19,6 @@ export class ApiEndpointInterceptor implements HttpInterceptor {
|
|||||||
const isRelative = !/^https?:\/\//i.test(req.url);
|
const isRelative = !/^https?:\/\//i.test(req.url);
|
||||||
const url = isRelative ? `${apiEndpoint.replace(/\/$/, '')}/${req.url.replace(/^\//, '')}` : req.url;
|
const url = isRelative ? `${apiEndpoint.replace(/\/$/, '')}/${req.url.replace(/^\//, '')}` : req.url;
|
||||||
const cloned = req.clone({ url });
|
const cloned = req.clone({ url });
|
||||||
console.trace('ApiEndpointInterceptor hit:', url);
|
|
||||||
return next.handle(cloned);
|
return next.handle(cloned);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user