robots.txt fix
This commit is contained in:
parent
269f9b8a8d
commit
419efe359e
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue