Skip to content

Commit

Permalink
Load ServerUrlConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
s373r committed Apr 5, 2024
1 parent f1ddd86 commit a9e7605
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/api-server/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use std::sync::Arc;

use dill::{CatalogBuilder, Component};
use internal_error::*;
use kamu::domain::CurrentAccountSubject;
use kamu::domain::{CurrentAccountSubject, ServerUrlConfig};
use opendatafabric::AccountName;
use tracing::info;
use url::Url;
Expand Down Expand Up @@ -74,6 +74,7 @@ pub async fn run(matches: clap::ArgMatches, config: ApiServerConfig) -> Result<(
.await
.add_value(dependencies_graph_repository)
.bind::<dyn kamu::domain::DependencyGraphRepository, kamu::DependencyGraphRepositoryInMemory>()
.add_value(ServerUrlConfig::load()?)
.build();

match matches.subcommand() {
Expand Down

0 comments on commit a9e7605

Please sign in to comment.