diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/main.rs b/src/main.rs index d5f89ca..e9c50e4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,7 +9,8 @@ fn main() {                  rouille::Response::text("hello world")              }, -            _ => rouille::Response::empty_404() +            _ => rouille::Response::text("404 Not Found") +                    .with_status_code(404)          )      });  } | 
