forked from jmug/stoatchat
fix: remove local testing values from config
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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