Skip to content

Commit

Permalink
fix: remove local testing values from config
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomatree committed Jan 28, 2025
1 parent 41a6de6 commit 742eb3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
6 changes: 0 additions & 6 deletions Revolt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,3 @@ access_key_id = "minioautumn"
secret_access_key = "minioautumn"
# Bucket to upload to by default
default_bucket = "revolt-uploads"

[rabbit]
host = "rabbit.backend.orb.local"
port = 5672
username = "rabbituser"
password = "rabbitpass"
6 changes: 3 additions & 3 deletions crates/core/config/Revolt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion crates/core/database/src/drivers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 742eb3b

Please sign in to comment.