rdserver
: Rename variable to ACRATE_RDSERVER_BIND_ADDRESS
This commit is contained in:
parent
c0fb191581
commit
8ef530658f
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
micronfig::config!(
|
||||
ACRATE_WEBFINGER_BIND_ADDRESS: String,
|
||||
ACRATE_RDSERVER_BIND_ADDRESS: String,
|
||||
);
|
||||
|
|
|
@ -26,7 +26,7 @@ async fn main() -> anyhow::Result<std::convert::Infallible> {
|
|||
log::trace!("Axum router created successfully!");
|
||||
|
||||
log::trace!("Creating Tokio listener...");
|
||||
let bind_address = config::ACRATE_WEBFINGER_BIND_ADDRESS();
|
||||
let bind_address = config::ACRATE_RDSERVER_BIND_ADDRESS();
|
||||
let listener = tokio::net::TcpListener::bind(bind_address)
|
||||
.await
|
||||
.context("failed to bind listener to address")?;
|
||||
|
|
Loading…
Reference in a new issue