auth use for websocket building

This commit is contained in:
2025-09-26 03:23:56 +02:00
parent 00c5c2bd63
commit 65146fce91
3 changed files with 4 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ pub fn utils_routes() -> Router<AppState> {
Router::new()
.route("/login", put(clean_auth_loging))
.route("/register", put(register_user))
.route("/ws/{hotel_id}/{user_id}", get(ws_handler))
.route("/ws/", get(ws_handler))
.route("/tokentest", put(token_tester))
//.with_state(state)