fix custom error page

This commit is contained in:
xfy
2024-05-21 14:12:08 +08:00
parent 55e8200967
commit 1690592373

View File

@ -162,8 +162,7 @@ pub async fn handle_connection(
let path = match path {
Some(p) => p,
None => {
return handle_not_found(req, res, router, assets_path).await;
// return Err(not_found_err);
return handle_not_found(req, res, router, "").await;
}
};