Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Anwar Ziani committed Oct 20, 2023
1 parent 8a484f6 commit d3eb706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func handleConn(conn net.Conn) {
}

// send response
response := "HTTP/1.1 400 Not Found\r\n\r\n"
response := "HTTP/1.1 404 Not Found\r\n\r\n"
if path == "/" {
response = "HTTP/1.1 200 OK\r\n\r\n"
}
Expand Down

0 comments on commit d3eb706

Please sign in to comment.