Skip to content

Commit

Permalink
fix token interceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
lyubov-voloshko committed Feb 3, 2025
1 parent 9b37bd5 commit b46592a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/app/services/token.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ export class TokenInterceptor implements HttpInterceptor {
if (url.startsWith('/assets')) {
return undefined;
}
if (url.startsWith('https://')) {
if (url.startsWith('/saas')) {
return url;
}
if (url.startsWith('http://')) {
return url;
}
return `${baseURL}${url}`;
Expand Down

0 comments on commit b46592a

Please sign in to comment.