Fix shared TURN secret from turn_secret_file not being used

This commit is contained in:
Benedikt Vollmerhaus
2025-11-03 12:30:00 +01:00
parent 1f803fe3a9
commit 05390d6097

View File

@@ -25,7 +25,7 @@ pub(crate) async fn turn_server_route(
return Err!(Request(NotFound("Not Found")));
}
let turn_secret = &services.config.turn_secret;
let turn_secret = &services.globals.turn_secret;
let (username, password) = if !turn_secret.is_empty() {
let expiry = SecondsSinceUnixEpoch::from_system_time(