implemented user editing endpoints
This commit is contained in:
parent
020bb7b072
commit
06be69c5e0
4 changed files with 296 additions and 10 deletions
|
|
@ -58,7 +58,7 @@ impl Service<HttpRequest<Incoming>> for HttpService {
|
|||
let headers = parts.headers.clone();
|
||||
|
||||
let fut = async move {
|
||||
let is_websocket_upgrade = path == "/ws"
|
||||
let is_websocket_upgrade = path.starts_with("/ws")
|
||||
&& method == Method::GET
|
||||
&& headers
|
||||
.get("connection")
|
||||
|
|
|
|||
Loading…
Reference in a new issue