Created
July 27, 2020 21:11
-
-
Save jpgninja/053e89033221544d33ec884b931228bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
# JWT Auth. | |
RewriteCond %{HTTP:Authorization} ^(.*) | |
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1] | |
# App setup. | |
RewriteCond %(REQUEST_FILENAME) !-f | |
RewriteCond %(REQUEST_FILENAME) !-d | |
RewriteCond %{REQUEST_URI} !^/wp/ | |
RewriteRule ^(.*)$ /vue/dist/$1 [L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment