Found axios doesn't report the status text in production and causes login to fail. Checking if the status is less than 400 works, but fails when loading the dashboard route for repairs.
Status text is ambiguous and may not be present in the response. Likely need to use res.status >= 400 to make sure that it responds appropriately instead of throwing a 200 response as an error.
Found axios doesn't report the status text in production and causes login to fail. Checking if the status is less than 400 works, but fails when loading the dashboard route for repairs.