Ignore:
Timestamp:
01/27/26 14:40:17 (6 months ago)
Author:
Filip Gavrilovski <filipgavrilovski28@…>
Branches:
main
Children:
c1d2f07
Parents:
3238007
Message:

minor changes with error handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/src/api/axiosInstance.ts

    r3238007 r16aed54  
    7070                        [401, 403].includes(error.response?.status) &&
    7171                        !originalConfig._retry &&
    72                         originalConfig.url !== "/auth/refresh"
     72                        originalConfig.url !== "/auth/refresh" &&
     73                        originalConfig.url !== "/auth/login" &&
     74                        originalConfig.url !== "/auth/register"
    7375                ) {
    7476                        originalConfig._retry = true;
Note: See TracChangeset for help on using the changeset viewer.