mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 21:47:02 +00:00
fix: remove local testing values from config
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user