nginx conf

This commit is contained in:
ntr
2018-10-24 11:39:52 +11:00
parent 4597d51458
commit 495b7333c5
4 changed files with 48 additions and 2 deletions
+2
View File
@@ -53,6 +53,8 @@
* delete games when a cryp is deleted
* does this need to happen? can have historical games
* run nginx as not root
# Mechanic Ideas
teams
1v1 2v2 3v3
+1 -1
View File
@@ -69,7 +69,7 @@ impl Rpc {
}
}
fn game_state(data: Vec<u8>, tx: &mut Transaction, account: Option<Account>, client: &mut WebSocket<TcpStream>) -> Result<RpcResponse, Error> {
fn game_state(data: Vec<u8>, tx: &mut Transaction, account: Option<Account>, _client: &mut WebSocket<TcpStream>) -> Result<RpcResponse, Error> {
let a = match account {
Some(a) => a,
None => return Err(err_msg("auth required")),