update use
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
use actix_web::{get, web, App, HttpServer, Responder, HttpRequest, HttpResponse};
|
use actix_web::{
|
||||||
|
get, web, App, HttpServer, Responder, HttpRequest, HttpResponse,
|
||||||
|
};
|
||||||
|
|
||||||
#[get("/{id}/{name}/index.html")]
|
#[get("/{id}/{name}/index.html")]
|
||||||
async fn index(info: web::Path<(u32, String)>) -> impl Responder {
|
async fn index(info: web::Path<(u32, String)>) -> impl Responder {
|
||||||
|
|||||||
Reference in New Issue
Block a user