Skip to content

NOW MANAGED ON CODEBERG

added Handle Authorization Header on .htaccess to solve Authorization problem get from laravel orginal github ripo

osmansorkar01adf39be8fd
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]