Fixed bug with index

This commit is contained in:
int 80h
2020-05-23 17:38:22 -04:00
parent 56384f35d0
commit 16f9358128

View File

@@ -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(());
} }
}, },
} }