diff --git a/storage-backend/.htaccess b/storage-backend/.htaccess index b606271..253545a 100644 --- a/storage-backend/.htaccess +++ b/storage-backend/.htaccess @@ -1,3 +1,8 @@ +Header set Access-Control-Allow-Origin "*" +Header set Access-Control-Allow-Methods "OPTIONS, HEAD, GET, PUT" +Header set Access-Control-Allow-Headers "Authorization, Content-Type" +Header set Access-Control-Allow-Credentials "true" + RewriteEngine on RewriteCond %{REQUEST_METHOD} (DELETE|PUT) RewriteRule ^(.*)$ index.php?uri=$1 [B,L,QSA]