summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-04-30 17:01:05 -0400
committerJoey Hess <joeyh@joeyh.name>2017-04-30 17:01:05 -0400
commit0c2b58751b0a56d5a6ef4e6a1597348abbdab6a2 (patch)
tree3bb6a55bfe890d9cd541bad1e489708b4c97f594
parent4b54adc956e19a4bff789cd46213fd434263d93a (diff)
downloaddebug-me-0c2b58751b0a56d5a6ef4e6a1597348abbdab6a2.tar.gz
better message
-rw-r--r--Server.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Server.hs b/Server.hs
index f6f5041..136aefa 100644
--- a/Server.hs
+++ b/Server.hs
@@ -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