mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-12 18:45:41 +00:00
upgrading to actix-v4-beta
This commit is contained in:
@@ -50,7 +50,7 @@ lazy_static! {
|
||||
}
|
||||
|
||||
async fn error(path: web::Path<usize>) -> impl Responder {
|
||||
let resp = match path.0 {
|
||||
let resp = match path.into_inner() {
|
||||
500 => HttpResponse::InternalServerError()
|
||||
.content_type("text/html; charset=utf-8")
|
||||
.body(&*INTERNAL_SERVER_ERROR_BODY),
|
||||
|
||||
Reference in New Issue
Block a user