瀏覽代碼

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…
取消
儲存