mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
fix: default tor proxy for registry
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user