This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
nextcloud
mirror of
https://github.com/nextcloud/server.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
1005
Wiki
Activity
Browse Source
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 years ago
parent
0a1d551090
commit
c9e2a2f56e
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
status.php
+ 1
- 0
status.php
View File
@@ -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);
}
Write
Preview
Loading…
Cancel
Save