Skip to content

Commit

Permalink
fix: minor redirection issue on interceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
sriramveeraghanta committed Jan 13, 2025
1 parent 7183cff commit ae3b588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/services/src/api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export abstract class APIService {
(error) => {
if (error.response && error.response.status === 401) {
const currentPath = window.location.pathname;
let prefix = "";
let prefix = "/";
let updatedPath = currentPath;

// Check for special path prefixes
Expand Down

0 comments on commit ae3b588

Please sign in to comment.