fix: default tor proxy for registry

This commit is contained in:
Aiden McClelland
2026-03-26 16:56:02 -06:00
parent 025d569dfa
commit 7c1c15073d

View File

@@ -123,7 +123,7 @@ impl RegistryContext {
.tor_proxy .tor_proxy
.clone() .clone()
.map(Ok) .map(Ok)
.unwrap_or_else(|| "socks5h://localhost:9050".parse())?; .unwrap_or_else(|| "socks5h://tor.startos:9050".parse())?;
let pool: Option<PgPool> = match &config.pg_connection_url { let pool: Option<PgPool> = match &config.pg_connection_url {
Some(url) => match PgPool::connect(url.as_str()).await { Some(url) => match PgPool::connect(url.as_str()).await {
Ok(pool) => Some(pool), Ok(pool) => Some(pool),