diff --git a/src/http/responses.rs b/src/http/responses.rs index 3cdebc1..b56066d 100644 --- a/src/http/responses.rs +++ b/src/http/responses.rs @@ -54,7 +54,7 @@ fn send_response(mut stream: TcpStream, status: u16, body: Body) -> UnitOrBoxedE response.push_str("Cache-Control: immutable, public, max-age=604800\r\n"); // CORS response.push_str("Access-Control-Allow-Origin: *\r\n"); - response.push_str("Access-Control-Allow-Metods: GET\r\n"); + response.push_str("Access-Control-Allow-Methods: GET\r\n"); response.push_str(&format!( "Content-Length: {}\r\n", match &body {