From 1d9049139de12c7613388d8feba7bfcbff8c5241 Mon Sep 17 00:00:00 2001 From: An Phan Date: Sun, 3 Jan 2016 16:06:55 +0800 Subject: [PATCH] Allow x-requests --- .htaccess | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 18a6ea3a..d9164877 100644 --- a/.htaccess +++ b/.htaccess @@ -1,7 +1,7 @@ - - Header set Access-Control-Allow-Origin "*" - + Header always set Access-Control-Allow-Origin "*" + Header always set Access-Control-Allow-Methods "POST, GET, PUT, OPTIONS, PATCH, DELETE" + Header always set Access-Control-Allow-Headers "Authorization,X-Accept-Charset,X-Accept,Content-Type"