diff --git a/src/main.rs b/src/main.rs index 98f8d33..a239bb1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -117,5 +117,6 @@ async fn check(query: web::Query, redis: web::Data) }; HttpResponse::Ok() + .content_type("application/json") .body(serde_json::to_string(&restrictions).unwrap()) }