summaryrefslogtreecommitdiff
path: root/fw/app
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-04-20 15:12:50 +0200
committerxengineering <me@xengineering.eu>2025-04-20 15:12:50 +0200
commit267b61fdb660f281c7366d779ebde1c6eb2a7fef (patch)
tree21fe8ea04b28a67845fae1abca862138d40b1ff9 /fw/app
parentf3dd32b03ee5dfdb62e63ec07cd5f64f8144a413 (diff)
downloadiot-contact-267b61fdb660f281c7366d779ebde1c6eb2a7fef.tar
iot-contact-267b61fdb660f281c7366d779ebde1c6eb2a7fef.tar.zst
iot-contact-267b61fdb660f281c7366d779ebde1c6eb2a7fef.zip
fw: app: http: Set settings content type to text/json
Diffstat (limited to 'fw/app')
-rw-r--r--fw/app/src/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fw/app/src/http.c b/fw/app/src/http.c
index 1c24490..88cf579 100644
--- a/fw/app/src/http.c
+++ b/fw/app/src/http.c
@@ -130,6 +130,7 @@ static struct http_resource_detail_dynamic settings_resource_detail = {
.common = {
.type = HTTP_RESOURCE_TYPE_DYNAMIC,
.bitmask_of_supported_http_methods = BIT(HTTP_GET),
+ .content_type = "text/json",
},
.cb = settings_handler,
.user_data = NULL,