mirror of
https://github.com/DefectingCat/candy
synced 2025-07-15 16:51:34 +00:00
fix custom error page
This commit is contained in:
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user