From 01adf39be8fdaed911712170ded91ae878dfa254 Mon Sep 17 00:00:00 2001 From: osmansorkar Date: Wed, 19 Feb 2020 12:44:23 +0600 Subject: [PATCH] added Handle Authorization Header on .htaccess to solve Authorization problem get from laravel orginal github ripo --- public/.htaccess | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/.htaccess b/public/.htaccess index 0d55354ec..abe87b39d 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -5,6 +5,10 @@ RewriteEngine On + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301]