styles and logging
This commit is contained in:
parent
78013b83f7
commit
bcf17cd19d
@ -271,7 +271,7 @@ button[disabled] {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.login {
|
.login {
|
||||||
flex: 0 1 25%;
|
width: 25%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -60,4 +60,8 @@
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.login {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -39,7 +39,6 @@ impl Rpc {
|
|||||||
return Ok(RpcResponse { method: "pong".to_string(), params: RpcResult::Pong(()) });
|
return Ok(RpcResponse { method: "pong".to_string(), params: RpcResult::Pong(()) });
|
||||||
}
|
}
|
||||||
|
|
||||||
info!("message method: {:?}", v.method);
|
|
||||||
let mut tx = db.transaction()?;
|
let mut tx = db.transaction()?;
|
||||||
|
|
||||||
let account: Option<Account> = match v.token {
|
let account: Option<Account> = match v.token {
|
||||||
@ -47,6 +46,8 @@ impl Rpc {
|
|||||||
None => None,
|
None => None,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
info!("method={:?} method={:?}", v.method, account.name);
|
||||||
|
|
||||||
// check the method
|
// check the method
|
||||||
// if no auth required
|
// if no auth required
|
||||||
match v.method.as_ref() {
|
match v.method.as_ref() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user