summaryrefslogtreecommitdiffstats
path: root/components/congress/test-webapp/www/html/proxy/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'components/congress/test-webapp/www/html/proxy/index.php')
-rw-r--r--components/congress/test-webapp/www/html/proxy/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/congress/test-webapp/www/html/proxy/index.php b/components/congress/test-webapp/www/html/proxy/index.php
index 93be444..1ce4e45 100644
--- a/components/congress/test-webapp/www/html/proxy/index.php
+++ b/components/congress/test-webapp/www/html/proxy/index.php
@@ -18,6 +18,7 @@ $method = $_SERVER['REQUEST_METHOD'];
if ($method == 'OPTIONS') {
header("Content-Type: application/json");
header("Access-Control-Allow-Origin: *");
+ header("Access-Control-Allow-Headers: Content-Type");
header("Access-Control-Allow-Methods: GET, POST, DELETE");
exit();
}