Skip to content

Commit 2ec8221

Browse files
committed
remove leftovers
1 parent dec9cde commit 2ec8221

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/routing/middleware/prerender.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,8 @@ pub async fn middleware(
180180
next: Next,
181181
) -> Result<Response, ErrorCause> {
182182
if !state.should_render(&ctx.authority, &uri, request.method(), is_bot.0) {
183-
println!("not-pre-rendering");
184183
return Ok(next.run(request).await);
185184
}
186-
println!("pre-rendering");
187185

188186
// Prepare the request to send to the renderer
189187
let mut render_request = Request::new(Full::new(Bytes::new()));

0 commit comments

Comments
 (0)