Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--status.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/status.php b/status.php
index f7bdfe1fd51..9d26772745e 100644
--- a/status.php
+++ b/status.php
@@ -38,6 +38,8 @@ try {
if (OC::$CLI) {
print_r($values);
} else {
+ header('Access-Control-Allow-Origin: *');
+ header('Content-Type: application/json');
echo json_encode($values);
}