added room invites in backend

This commit is contained in:
2025-12-31 10:21:17 +01:00
parent 06b3a6f405
commit bd99c82d2d
4 changed files with 232 additions and 42 deletions

View File

@@ -61,7 +61,7 @@ async fn main() -> anyhow::Result<()> {
// )
.layer(cors);
let port = var("CHATAPP_SERVER_PORT").unwrap_or_else(|_| "8081".to_string());
let port = var("CHATAPP_SERVER_PORT").unwrap_or_else(|_| "8080".to_string());
let addr = format!("0.0.0.0:{port}");
let listener = tokio::net::TcpListener::bind(&addr).await.unwrap();