diff --git a/public/htaccess b/build/.htaccess similarity index 100% rename from public/htaccess rename to build/.htaccess diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..df1bca2 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,10 @@ + + RewriteEngine On + RewriteBase /subdirectory + RewriteRule ^index\.html$ - [L] + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-l + RewriteRule . /index.html [L] + +