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"
|
secret_access_key = "minioautumn"
|
||||||
# Bucket to upload to by default
|
# Bucket to upload to by default
|
||||||
default_bucket = "revolt-uploads"
|
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]
|
[api.livekit]
|
||||||
# Livekit server url
|
# Livekit server url
|
||||||
url = "ws://livekit:7880"
|
url = "ws://local.revolt.chat/livekit"
|
||||||
# Livekit security key name
|
# Livekit security key name
|
||||||
key = "dev"
|
key = ""
|
||||||
# Livekit security secret value
|
# Livekit security secret value
|
||||||
secret = "qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxc"
|
secret = ""
|
||||||
|
|
||||||
|
|
||||||
[pushd]
|
[pushd]
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ impl DatabaseInfo {
|
|||||||
#[async_recursion]
|
#[async_recursion]
|
||||||
pub async fn connect(self) -> Result<Database, String> {
|
pub async fn connect(self) -> Result<Database, String> {
|
||||||
let config = config().await;
|
let config = config().await;
|
||||||
println!("{config:?}");
|
|
||||||
Ok(match self {
|
Ok(match self {
|
||||||
DatabaseInfo::Auto => {
|
DatabaseInfo::Auto => {
|
||||||
if std::env::var("TEST_DB").is_ok() {
|
if std::env::var("TEST_DB").is_ok() {
|
||||||
|
|||||||
Reference in New Issue
Block a user