make fn clearable
This commit is contained in:
@@ -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."
|
||||
}
|
||||
|
Reference in New Issue
Block a user