Fixed bug with index
This commit is contained in:
@@ -254,10 +254,6 @@ async fn handle_connection(
|
|||||||
if perm.mode() & 0o0111 == 0o0111 {
|
if perm.mode() & 0o0111 == 0o0111 {
|
||||||
cgi::cgi(con, srv, path, url).await?;
|
cgi::cgi(con, srv, path, url).await?;
|
||||||
return Ok(());
|
return Ok(());
|
||||||
} else {
|
|
||||||
logger::logger(con.peer_addr, Status::CGIError, &request);
|
|
||||||
con.send_status(Status::CGIError, None).await?;
|
|
||||||
return Ok(());
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user