remove need to call /new
This commit is contained in:
@@ -4,6 +4,8 @@ use std::sync::Arc;
|
||||
use tokio_stream::Stream;
|
||||
|
||||
pub async fn stream_handler(State(state): State<Arc<AppState>>) -> Response {
|
||||
state.clone().check_update().await;
|
||||
|
||||
let stream = create_chunk_stream(state);
|
||||
let body = Body::from_stream(stream);
|
||||
|
||||
|
Reference in New Issue
Block a user