From e4ea51f80270121f8d8a7462c5c0db804625f8dc Mon Sep 17 00:00:00 2001 From: Kakabay Date: Thu, 8 Dec 2022 19:59:16 +0500 Subject: [PATCH] build w/ htaccess --- dist/.htaccess | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 dist/.htaccess diff --git a/dist/.htaccess b/dist/.htaccess new file mode 100644 index 0000000..1d70e01 --- /dev/null +++ b/dist/.htaccess @@ -0,0 +1,5 @@ + + RewriteEngine On RewriteBase /subdirectory RewriteRule ^index\.html$ - [L] RewriteCond + %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l + RewriteRule . /index.html [L] +