merge
This commit is contained in:
@ -171,7 +171,7 @@ async fn geojson_endpoint(
|
||||
async fn game_page(game_code: web::Path<String>) -> impl Responder {
|
||||
let mut context = Context::new();
|
||||
context.insert("game_code", game_code.as_str());
|
||||
let body = Tera::one_off(include_str!("templates/map.html.tera"), &context, false)
|
||||
let body = Tera::one_off(include_str!("templates/map.tera"), &context, false)
|
||||
.expect("Failed to render template");
|
||||
HttpResponse::Ok().body(body)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user