Skip to content

Commit 85e8d21

Browse files
author
Paul Vidal
committed
handle authorization header
1 parent c6931d2 commit 85e8d21

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

public/.htaccess

+4
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@
1313
RewriteCond %{REQUEST_FILENAME} !-d
1414
RewriteCond %{REQUEST_FILENAME} !-f
1515
RewriteRule ^ index.php [L]
16+
17+
# Handle Authorization Header
18+
RewriteCond %{HTTP:Authorization} .
19+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
1620
</IfModule>

0 commit comments

Comments
 (0)