diff options
Diffstat (limited to 'radicale_web/web/infcloud/auth/cross_domain.inc')
-rw-r--r-- | radicale_web/web/infcloud/auth/cross_domain.inc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/radicale_web/web/infcloud/auth/cross_domain.inc b/radicale_web/web/infcloud/auth/cross_domain.inc deleted file mode 100644 index a6a10e0..0000000 --- a/radicale_web/web/infcloud/auth/cross_domain.inc +++ /dev/null @@ -1,14 +0,0 @@ -<?php - header_remove('Access-Control-Allow-Origin'); - header_remove('Access-Control-Allow-Methods'); - header_remove('Access-Control-Allow-Headers'); - header_remove('Access-Control-Allow-Credentials'); - - header('Access-Control-Allow-Origin: *'); - header('Access-Control-Allow-Methods: GET'); - header('Access-Control-Allow-Headers: User-Agent,Authorization,Content-type,X-client'); - header('Access-Control-Allow-Credentials: true'); - - if($_SERVER['REQUEST_METHOD']=='OPTIONS') // Preflighted request - exit(0); -?>
\ No newline at end of file |