diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..a192448 --- /dev/null +++ b/.htaccess @@ -0,0 +1,7 @@ +RewriteEngine On + # If an existing asset or directory is requested go to it as it is + RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] + RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d + RewriteRule ^ - [L] + # If the requested resource doesn't exist, use index.html +RewriteRule ^ /index.html