diff --git a/src/website/pages/notfound.rs b/src/website/pages/notfound.rs index da7c2c1..f4e5fc9 100644 --- a/src/website/pages/notfound.rs +++ b/src/website/pages/notfound.rs @@ -13,7 +13,7 @@ struct PageNotFound; pub async fn page_notfound() -> Response { let a = PageNotFound; match a.render() { - Ok(res) => (StatusCode::OK, Html(res)).into_response(), + Ok(res) => (StatusCode::NOT_FOUND, Html(res)).into_response(), Err(_e) => (StatusCode::INTERNAL_SERVER_ERROR, INTERNAL_SERVER_ERROR_MSG).into_response(), } }