logging
This commit is contained in:
parent
e70b9e5494
commit
163ccdfe00
@ -89,11 +89,9 @@ class Main extends Component {
|
|||||||
status: "failed",
|
status: "failed",
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
if(api_endpoint==="/api/login"){
|
fetch(addr_prefix + "/api/login_status").then(resp => resp.json()).then(json => {
|
||||||
fetch(addr_prefix + "/api/login_status").then(resp => resp.json()).then(json => {
|
this.setState({login_status: json})
|
||||||
this.setState({login_status: json})
|
})
|
||||||
})
|
|
||||||
}
|
|
||||||
this.setState({
|
this.setState({
|
||||||
status_text: data.success,
|
status_text: data.success,
|
||||||
status: "success",
|
status: "success",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user