Преглед изворни кода

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 година
родитељ
комит
c9e2a2f56e
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1
    0
      status.php

+ 1
- 0
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);
}

Loading…
Откажи
Сачувај