websocket-akka-http
websocket-akka-http copied to clipboard
Fixed Server.scala to use the configured port
When the with-client command line option is used and a non default port were set in the src/main/resources/application.conf then the client can not connect to the server.
So: simply change hardcoded 8080 to the already available "port" variable
val c: WSClient = WSClient(s"http://localhost:${port}/ws-chat/123?name=HAL1000", "HAL1000")