on master help sign in
make 127.0.0.1 the default for running the websocket server. A future release of the websocket modules should include our pull request to support hostnames.

resolves #74

commit55aff8bc350bacf8a4cd52ed65278c3002bba959 authorAgentM <agentm@themactionfaction.com> dateSat 4 Feb 2017, 20:47 (10 years ago) parent9cfdd63
1 file changed+1−1
src/bin/ProjectM36/Server/WebSocket/websocket-server.hs+1−1
src/bin/ProjectM36/Server/WebSocket/websocket-server.hs+1−1
@@ -11,7 +11,7 @@ main :: IO ()
1111main = do
1212 -- launch normal project-m36-server
1313 addressMVar <- newEmptyMVar
14− serverConfig <- parseConfigWithDefaults (defaultServerConfig { bindPort = 8000 })
14+ serverConfig <- parseConfigWithDefaults (defaultServerConfig { bindPort = 8000, bindHost = "127.0.0.1" })
1515 --usurp the serverConfig for our websocket server and make the proxied server run locally
1616 let wsHost = bindHost serverConfig
1717 wsPort = bindPort serverConfig