aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
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)
)
});
}