diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..5e646b1 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,7 @@ +RewriteEngine on + +RewriteCond %{HTTP_HOST} !^apibr\.com$ +RewriteRule ^(.*)$ "https\:\/\/apibr\.com\/$1" [R=301,L] + +RewriteCond %{REQUEST_FILENAME} !-f +RewriteRule ^ index.html [QSA,L]