post webrtc intégration
This commit is contained in:
+4
-1
@@ -18,6 +18,7 @@ pub mod role;
|
||||
pub mod server;
|
||||
pub mod server_item_order;
|
||||
pub mod user;
|
||||
pub mod voice;
|
||||
|
||||
pub fn router() -> OxRouter {
|
||||
// Routes nécessitant une authentification
|
||||
@@ -41,7 +42,9 @@ pub fn router() -> OxRouter {
|
||||
.merge(core::routes::router());
|
||||
let public_attachment_routes = attachment::routes::public_router();
|
||||
|
||||
let ws_routes = Router::new().merge(gateway::routes::router());
|
||||
let ws_routes = Router::new()
|
||||
.merge(gateway::routes::router())
|
||||
.merge(voice::routes::router());
|
||||
|
||||
Router::new()
|
||||
.nest("/api", api_routes)
|
||||
|
||||
Reference in New Issue
Block a user