summaryrefslogtreecommitdiffstats
path: root/status.php
diff options
context:
space:
mode:
Diffstat (limited to 'status.php')
-rw-r--r--status.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/status.php b/status.php
index 6e7bcea5266..90250ff2615 100644
--- a/status.php
+++ b/status.php
@@ -41,6 +41,7 @@ try {
if (OC::$CLI) {
print_r($values);
} else {
+ header('Access-Control-Allow-Origin: *');
header('Content-Type: application/json');
echo json_encode($values);
}