descript what this function does

master
rascul 2 years ago
parent bbb1bf0723
commit 5617429296

@ -11,6 +11,7 @@ use serde_json::json;
use crate::Result; use crate::Result;
/// load up and play the replay
#[get("/+{id}")] #[get("/+{id}")]
pub async fn get(id: Path<String>, hb: Data<Handlebars<'_>>) -> Result<HttpResponse> { pub async fn get(id: Path<String>, hb: Data<Handlebars<'_>>) -> Result<HttpResponse> {
let mut path = PathBuf::from("replays"); let mut path = PathBuf::from("replays");

Loading…
Cancel
Save