fix: remove local testing values from config

This commit is contained in:
Zomatree
2025-01-28 16:06:58 +00:00
parent 41a6de67cd
commit 742eb3bb7d
3 changed files with 4 additions and 10 deletions

View File

@@ -65,11 +65,11 @@ max_concurrent_connections = 50
[api.livekit]
# Livekit server url
url = "ws://livekit:7880"
url = "ws://local.revolt.chat/livekit"
# Livekit security key name
key = "dev"
key = ""
# Livekit security secret value
secret = "qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxc"
secret = ""
[pushd]

View File

@@ -43,7 +43,7 @@ impl DatabaseInfo {
#[async_recursion]
pub async fn connect(self) -> Result<Database, String> {
let config = config().await;
println!("{config:?}");
Ok(match self {
DatabaseInfo::Auto => {
if std::env::var("TEST_DB").is_ok() {