Skip to content

Commit

Permalink
hotfix for a not working api-authentication on FastCGI (See https://l…
Browse files Browse the repository at this point in the history
  • Loading branch information
HerrLevin authored Jan 31, 2021
1 parent 66b4eee commit e59d9bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>

0 comments on commit e59d9bd

Please sign in to comment.