Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
remove /
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin1111 committed Jan 9, 2024
1 parent 3ad2ef3 commit 6401ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/interceptors/jwt.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class JwtInterceptor implements HttpInterceptor {

// Certain api's do not require token in headers.
private isTokenMandatory(url: string): boolean {
const endpointWithoutToken = url.includes('/api/auth/');
const endpointWithoutToken = url.includes('api/auth/');
return !endpointWithoutToken;
}

Expand Down

0 comments on commit 6401ccd

Please sign in to comment.