Fix shared TURN secret from turn_secret_file not being used
This commit is contained in:
parent
1f803fe3a9
commit
05390d6097
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue