... App::new() // Store `MyData` in application storage. .app_data(data.clone()) .service( web::resource("/index.html").route( web::get().to(index))); } ...
確定! 回上一頁