diff options
Diffstat (limited to 'webgui/src')
-rw-r--r-- | webgui/src/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webgui/src/Main.hs b/webgui/src/Main.hs index e4b25e6..03cd318 100644 --- a/webgui/src/Main.hs +++ b/webgui/src/Main.hs | |||
@@ -500,7 +500,7 @@ withWebSocket :: (Config -> Window -> Event (Either WebSocketException URI) -> U | |||
500 | withWebSocket setup c@(Config{..}) w = do | 500 | withWebSocket setup c@(Config{..}) w = do |
501 | (dataUpdate, triggerData) <- liftIO newEvent | 501 | (dataUpdate, triggerData) <- liftIO newEvent |
502 | let | 502 | let |
503 | rcvEvents = runClient (baseUrlHost server) (baseUrlPort server) "/" $ forever . (triggerData . maybe (Left InvalidMessage) Right . parseURIReference . T.unpack <=< receiveData) | 503 | rcvEvents = runClient (baseUrlHost server) (baseUrlPort server) (baseUrlPath server) $ forever . (triggerData . maybe (Left InvalidMessage) Right . parseURIReference . T.unpack <=< receiveData) |
504 | liftIOLater . void $ forkFinally rcvEvents (triggerData . Left . either Unhandled (const ProcessDied)) | 504 | liftIOLater . void $ forkFinally rcvEvents (triggerData . Left . either Unhandled (const ProcessDied)) |
505 | void $ setup c w dataUpdate | 505 | void $ setup c w dataUpdate |
506 | 506 | ||