make fn clearable
Some checks failed
CI/CD Pipeline / deploy (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled

This commit is contained in:
2025-07-21 21:30:59 +02:00
parent 1a5271c796
commit c31ad4290e
3 changed files with 15 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ async fn new(State(state): State<Arc<AppState>>) -> &'static str {
return "Failed getting latest url";
};
downloader::spawn_download_task(&url, state.clone());
downloader::spawn_download_task(&url, state.clone()).await;
"Download started. Access / to stream the new content."
}