mirror of
https://github.com/TeamPiped/region-restriction-checker.git
synced 2024-12-12 21:30:37 +05:30
Set content-type header.
This commit is contained in:
parent
e8c10fcc3c
commit
610a9977b7
@ -117,5 +117,6 @@ async fn check(query: web::Query<VideoIdQuery>, redis: web::Data<redis::Client>)
|
||||
};
|
||||
|
||||
HttpResponse::Ok()
|
||||
.content_type("application/json")
|
||||
.body(serde_json::to_string(&restrictions).unwrap())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user