From 2ccbc1cd3817451b0087ba1eacdf13551bd55f75 Mon Sep 17 00:00:00 2001 From: Jellyfrog Date: Wed, 16 Oct 2019 13:06:34 +0200 Subject: [PATCH] Remove unsupported WS transport Removes the spam of `Server got message 'Binary Data'.` --- src/api/notifications.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/notifications.rs b/src/api/notifications.rs index aa2641f1..244025e8 100644 --- a/src/api/notifications.rs +++ b/src/api/notifications.rs @@ -26,7 +26,7 @@ fn negotiate(_headers: Headers, _conn: DbConn) -> JsonResult { let mut available_transports: Vec = Vec::new(); if CONFIG.websocket_enabled() { - available_transports.push(json!({"transport":"WebSockets", "transferFormats":["Text","Binary"]})); + available_transports.push(json!({"transport":"WebSockets", "transferFormats":["Text"]})); } // TODO: Implement transports