aboutsummaryrefslogtreecommitdiffstats
path: root/storage-backend
diff options
context:
space:
mode:
Diffstat (limited to 'storage-backend')
-rw-r--r--storage-backend/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage-backend/index.php b/storage-backend/index.php
index a7c79d3..99d919c 100644
--- a/storage-backend/index.php
+++ b/storage-backend/index.php
@@ -244,6 +244,7 @@ function sendHttpReturnCodeAndJson($code, $data) {
if (!is_array($data)) {
$data = ['msg' => $data];
}
+ header('Content-Type: application/json');
sendHttpReturnCodeAndMessage($code, json_encode($data));
}