use best, not fastest with websocket

This commit is contained in:
Bryan Stitt 2023-01-19 18:32:31 -08:00
parent e53030e053
commit 0731d92dec

View File

@ -128,9 +128,8 @@ pub async fn websocket_handler_with_key(
user_agent: Option<TypedHeader<UserAgent>>,
ws_upgrade: Option<WebSocketUpgrade>,
) -> FrontendResult {
// TODO: config instead of defaulting to fastest(1)?
_websocket_handler_with_key(
ProxyMode::Fastest(1),
ProxyMode::Best,
app,
ip,
rpc_key,