Bläddra i källkod

Add CORS header to status.php so that we can migrate to a JS based check in the future

tags/v8.2beta1
Lukas Reschke 8 år sedan
förälder
incheckning
c9e2a2f56e
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      status.php

+ 1
- 0
status.php Visa fil

@@ -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);
}

Laddar…
Avbryt
Spara