From c9e2a2f56e418610bede395465aa9282f5b04e97 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sat, 22 Aug 2015 14:44:02 +0200 Subject: [PATCH] Add CORS header to status.php so that we can migrate to a JS based check in the future --- status.php | 1 + 1 file changed, 1 insertion(+) diff --git a/status.php b/status.php index 6e7bcea526..90250ff261 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); }