Fix Authorization token stripped out
This commit is contained in:
parent
0f90b28c26
commit
3ccefe7837
|
@ -1,7 +1,10 @@
|
|||
#Thanks u/IZEN_R!
|
||||
|
||||
RewriteEngine on
|
||||
|
||||
#https://stackoverflow.com/a/26791450
|
||||
RewriteCond %{HTTP:Authorization} ^(.*)
|
||||
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
|
||||
|
||||
#Thanks u/IZEN_R!
|
||||
RewriteCond %{REQUEST_URI} !^(.*)dist-frontend/
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
|
|
Loading…
Reference in New Issue