diff --git a/werewolves-server/src/main.rs b/werewolves-server/src/main.rs index abe58dd..7c1898a 100644 --- a/werewolves-server/src/main.rs +++ b/werewolves-server/src/main.rs @@ -193,6 +193,8 @@ async fn handle_http_static(req: Request) -> impl IntoResponse "text/css".to_string() } else if path.ends_with(".wasm") { "application/wasm".to_string() + } else if path.ends_with(".svg") { + "image/svg+xml".to_string() } else { file.sniff_mime_type() .unwrap_or("application/octet-stream")