Merge branch 'main' into livekit

This commit is contained in:
Zomatree
2025-04-29 15:47:16 +01:00
3 changed files with 1500 additions and 2164 deletions

View File

@@ -91,6 +91,14 @@ pub async fn web() -> Rocket<Build> {
)
.into();
let swagger_0_8 = revolt_rocket_okapi::swagger_ui::make_swagger_ui(
&revolt_rocket_okapi::swagger_ui::SwaggerUIConfig {
url: "/0.8/openapi.json".to_owned(),
..Default::default()
},
)
.into();
// Voice handler
let voice_client = VoiceClient::new(config.api.livekit.nodes.clone());
// Configure Rabbit