Message fix
This commit is contained in:
@@ -40,8 +40,7 @@ function Redirect() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// "{"message":"Endpoint not found.","URI":"http:\/\/localhost:9083\/index.php\/en\/wrench\/api\/v1\/authstart"}[]"
|
// "{"message":"Endpoint not found.","URI":"http:\/\/localhost:9083\/index.php\/en\/wrench\/api\/v1\/authstart"}[]"
|
||||||
const data = JSON.parse(res.data.replace('[]',''));
|
alert(JSON.stringify(res.data));
|
||||||
alert(data.message);
|
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user