Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-22 05:10:29 +01:00
Add error message when the proxy doesn't route websockets correctly
Dieser Commit ist enthalten in:
Ursprung
434551e012
Commit
d66d4fd87f
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
|
@ -6,7 +6,12 @@ use auth::Headers;
|
|||
use db::DbConn;
|
||||
|
||||
pub fn routes() -> Vec<Route> {
|
||||
routes![negotiate]
|
||||
routes![negotiate, websockets_err]
|
||||
}
|
||||
|
||||
#[get("/hub")]
|
||||
fn websockets_err() -> JsonResult {
|
||||
err!("'/notifications/hub' should be proxied towards the websocket server, otherwise notifications will not work. Go to the README for more info.")
|
||||
}
|
||||
|
||||
#[post("/hub/negotiate")]
|
||||
|
|
Laden …
In neuem Issue referenzieren