Skip to content

Commit

Permalink
📝 Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ImNotAVirus committed Apr 7, 2020
1 parent 492b3c6 commit dd7be7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions guides/introduction/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ defmodule LoginServer.Frontend do

@impl ElvenGard.Frontend
def handle_init(args) do
port = get_in(args, [:port])
Logger.info("Login server started on port #{port}")
ip = Keyword.fetch!(args.listener_opts.socket_opts, :ip)
port = Keyword.fetch!(args.listener_opts.socket_opts, :port)
Logger.info("Listening for connections on #{:inet.ntoa(ip)}:#{port}")
{:ok, nil}
end

Expand Down

0 comments on commit dd7be7c

Please sign in to comment.