refactor: remove debug trace from ApiEndpointInterceptor

This commit is contained in:
Marek Lesko
2025-10-31 14:39:29 +00:00
parent 2653b6f6c1
commit a19fd6ea72

View File

@@ -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);
} }
} }