diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-04-30 17:01:05 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-04-30 17:01:05 -0400 |
commit | 0c2b58751b0a56d5a6ef4e6a1597348abbdab6a2 (patch) | |
tree | 3bb6a55bfe890d9cd541bad1e489708b4c97f594 | |
parent | 4b54adc956e19a4bff789cd46213fd434263d93a (diff) | |
download | debug-me-0c2b58751b0a56d5a6ef4e6a1597348abbdab6a2.tar.gz |
better message
-rw-r--r-- | Server.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -109,7 +109,7 @@ app :: ServerOpts -> TVar ServerState -> Application app o ssv = websocketsOr connectionOptions (websocketApp o ssv) webapp where webapp _ respond = respond $ - responseLBS status400 [] "Not a WebSocket request" + responseLBS status400 [] "This is a debug-me server, it does not serve any html pages." websocketApp :: ServerOpts -> TVar ServerState -> WS.ServerApp websocketApp o ssv pending_conn = do |