mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
bump to rc.1
This commit is contained in:
@ -11,7 +11,7 @@ readme = "README.md"
|
||||
|
||||
[dependencies]
|
||||
actix-multipart = "0.4.0-beta.12"
|
||||
actix-web = "4.0.0-beta.21"
|
||||
actix-web = "4.0.0-rc.1"
|
||||
|
||||
futures-util = "0.3"
|
||||
sanitize-filename = "0.3"
|
||||
|
@ -29,7 +29,7 @@ async fn save_file(mut payload: Multipart) -> Result<HttpResponse, Error> {
|
||||
Ok(HttpResponse::Ok().into())
|
||||
}
|
||||
|
||||
fn index() -> HttpResponse {
|
||||
async fn index() -> HttpResponse {
|
||||
let html = r#"<html>
|
||||
<head><title>Upload Test</title></head>
|
||||
<body>
|
||||
|
Reference in New Issue
Block a user