fixed error redirection

4.x.x
Jayasanka 6 years ago
parent 5865cecf3e
commit c1cf3faba9

@ -85,8 +85,9 @@ class Apps extends React.Component {
} }
}).catch(function (error) { }).catch(function (error) {
if(error.status === 401){ if(error.response.status === 401){
window.location = 'https://localhost:9443/publisher/login' console.log("bis");
window.location.href = 'https://localhost:9443/publisher/login';
} }
}); });
} }

Loading…
Cancel
Save