remove need to call /new
All checks were successful
CI/CD Pipeline / test (push) Successful in 2m24s
CI/CD Pipeline / deploy (push) Successful in 2m8s

This commit is contained in:
2025-08-01 19:04:25 +02:00
parent 12d02b286d
commit 67fb02894f
6 changed files with 227 additions and 102 deletions

View File

@@ -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);