diff --git a/src/main.rs b/src/main.rs index 6ec2ba0..0053060 100644 --- a/src/main.rs +++ b/src/main.rs @@ -101,7 +101,7 @@ fn main() { Response::from_file("font/woff", File::open("src/HTTP/Perfect DOS VGA 437.woff").unwrap()).with_status_code(200) }, // Robots. - (GET) ["robots.txt"] => { + (GET) ["/robots.txt"] => { Response::from_file("text/plain", File::open("src/HTTP/robots.txt").unwrap()).with_status_code(200) }, // Actual Web Pages.