summaryrefslogtreecommitdiffstats
path: root/apps/remoteStorage
diff options
context:
space:
mode:
authorMichiel@unhosted <michiel@unhosted.org>2011-10-09 17:12:16 +0200
committerMichiel@unhosted <michiel@unhosted.org>2011-10-09 17:12:16 +0200
commitf4fb6356cd5d9143f59ad41425d74fb35bbe68fd (patch)
tree7e5920a3e03b1f12b29c246e36219195067a2781 /apps/remoteStorage
parentbf017fb4bdae355675d5b81755ed0c738cf58d2e (diff)
downloadnextcloud-server-f4fb6356cd5d9143f59ad41425d74fb35bbe68fd.tar.gz
nextcloud-server-f4fb6356cd5d9143f59ad41425d74fb35bbe68fd.zip
use install.php properly
Diffstat (limited to 'apps/remoteStorage')
-rw-r--r--apps/remoteStorage/compat.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/remoteStorage/compat.php b/apps/remoteStorage/compat.php
index d383e879510..35a133c43c7 100644
--- a/apps/remoteStorage/compat.php
+++ b/apps/remoteStorage/compat.php
@@ -44,7 +44,7 @@ if(isset($_SERVER['HTTP_ORIGIN'])) {
header('Access-Control-Allow-Origin: ' . $_SERVER['HTTP_ORIGIN']);
header('Access-Control-Max-Age: 3600');
header('Access-Control-Allow-Methods: OPTIONS, GET, PUT, DELETE, PROPFIND');
- header('Access-Control-Allow-Headers: Authorization');
+ header('Access-Control-Allow-Headers: Authorization, Content-Type');
} else {
header('Access-Control-Allow-Origin: *');
}