This commit is contained in:
2026-05-23 22:13:43 -07:00
parent a7115485d9
commit 436debc0ce

View File

@ -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)
}