mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-16 02:18:27 -07:00
content charset
This commit is contained in:
parent
9a3168d20e
commit
13c51f3d72
2
http.c
2
http.c
@ -247,7 +247,7 @@ static int json_response(struct mg_connection *conn, JsonNode *json)
|
|||||||
{
|
{
|
||||||
char *js;
|
char *js;
|
||||||
|
|
||||||
mg_send_header(conn, "Content-Type", "application/json");
|
mg_send_header(conn, "Content-Type", "application/json; charset=utf-8");
|
||||||
mg_send_header(conn, "Access-Control-Allow-Origin", "*");
|
mg_send_header(conn, "Access-Control-Allow-Origin", "*");
|
||||||
|
|
||||||
if (json == NULL) {
|
if (json == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user