Skip to content

Commit

Permalink
fix otf-only service
Browse files Browse the repository at this point in the history
  • Loading branch information
shouya committed Nov 10, 2024
1 parent ba1a2d7 commit 06a51f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ impl ServerConfig {
}

pub async fn run_without_config(self) -> Result<()> {
let config = RootConfig::on_the_fly("/otf");
let feed_service = FeedService::try_from(config).await?;
let feed_service = FeedService::new_otf().await?;
let rel_path = relative_path("otf");
info!(
"No config detected. Serving automatic on-the-fly endpoint on {rel_path}"
Expand Down

0 comments on commit 06a51f4

Please sign in to comment.