summaryrefslogtreecommitdiff
path: root/lib/chessh/ssh/daemon.ex
diff options
context:
space:
mode:
authorSimponic <elizabeth.hunt@simponic.xyz>2023-01-28 22:56:10 -0700
committerSimponic <elizabeth.hunt@simponic.xyz>2023-01-28 22:56:10 -0700
commit593a631a564926b5b118805b8bea13a753e4757d (patch)
tree3f2a5460eda4ef19142b20386c7dee001f4675b5 /lib/chessh/ssh/daemon.ex
parentbb66cd91a3e76e9b746750de51b5edd34b5d2259 (diff)
downloadchessh-593a631a564926b5b118805b8bea13a753e4757d.tar.gz
chessh-593a631a564926b5b118805b8bea13a753e4757d.zip
Ensure board is flipped when starting a game as dark, move some constants to environment variables, minor frontend changes:
Diffstat (limited to 'lib/chessh/ssh/daemon.ex')
-rw-r--r--lib/chessh/ssh/daemon.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chessh/ssh/daemon.ex b/lib/chessh/ssh/daemon.ex
index d602781..7010cc1 100644
--- a/lib/chessh/ssh/daemon.ex
+++ b/lib/chessh/ssh/daemon.ex
@@ -60,7 +60,7 @@ defmodule Chessh.SSH.Daemon do
do: pwd_authenticate(username, password, inet)
def handle_info(:start, state) do
- port = Application.fetch_env!(:chessh, :port)
+ port = Application.fetch_env!(:chessh, :ssh_port)
key_dir = String.to_charlist(Application.fetch_env!(:chessh, :key_dir))
max_sessions = Application.fetch_env!(:chessh, :max_sessions)