remove dead code
This commit is contained in:
parent
def4c2417c
commit
3ad322f635
|
@ -163,30 +163,6 @@ object Setup extends LilaController with TheftPrevention {
|
|||
)
|
||||
}
|
||||
|
||||
def join(id: String) = Open { implicit ctx =>
|
||||
OptionFuResult(GameRepo game id) { game =>
|
||||
???
|
||||
}
|
||||
}
|
||||
|
||||
// def await(fullId: String, userId: Option[String]) = Open { implicit ctx =>
|
||||
// OptionFuResult(GameRepo pov fullId) { pov =>
|
||||
// pov.game.started.fold(
|
||||
// Redirect(routes.Round.player(pov.fullId)).fuccess,
|
||||
// Env.api.roundApi.player(pov, lila.api.Mobile.Api.currentVersion) zip
|
||||
// (userId ?? UserRepo.named) flatMap {
|
||||
// case (data, user) => PreventTheft(pov) {
|
||||
// Ok(html.setup.await(
|
||||
// pov,
|
||||
// data,
|
||||
// env.friendConfigMemo get pov.game.id,
|
||||
// user)).fuccess
|
||||
// }
|
||||
// }
|
||||
// )
|
||||
// }
|
||||
// }
|
||||
|
||||
def validateFen = Open { implicit ctx =>
|
||||
get("fen") flatMap ValidFen(getBool("strict")) match {
|
||||
case None => BadRequest.fuccess
|
||||
|
|
|
@ -9,7 +9,7 @@ net {
|
|||
ip = "5.196.91.160"
|
||||
asset {
|
||||
domain = ${net.domain}
|
||||
version = 833
|
||||
version = 834
|
||||
}
|
||||
}
|
||||
play {
|
||||
|
|
Loading…
Reference in a new issue